Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2316, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009864/0.2414, allocations: 7.064 MB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.2463, allocations: 2.473 MB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008413/0.2471, allocations: 23.94 kB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.2485, allocations: 488 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.2497, allocations: 436.8 kB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.2503, allocations: 211.7 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.2519, allocations: 1.233 MB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006615/0.2526, allocations: 346.5 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008457/0.2534, allocations: 0.4981 MB / 445.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.2541, allocations: 457.6 kB / 445.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.2542, allocations: 116 kB / 445.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.2545, allocations: 152 kB / 445.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.2547, allocations: 231.2 kB / 446 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.2552, allocations: 473.9 kB / 446.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.257, allocations: 1.478 MB / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.257, allocations: 0 / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.257, allocations: 0 / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.257, allocations: 0 / 448 MB, free: 6.996 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002463/0.2595, allocations: 1.26 MB / 449.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2595, allocations: 12.03 kB / 449.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.2602, allocations: 180.2 kB / 449.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.2615, allocations: 0.5803 MB / 450 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.2615, allocations: 66.38 kB / 450.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2616, allocations: 87.94 kB / 450.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.2632, allocations: 0.8686 MB / 451 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.2632, allocations: 7.953 kB / 451 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/0.2633, allocations: 36 kB / 451.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.2633, allocations: 20 kB / 451.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2645, allocations: 0.5387 MB / 451.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.2689, allocations: 2.952 MB / 454.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.2695, allocations: 226.8 kB / 454.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.2697, allocations: 108.8 kB / 454.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2698, allocations: 4 kB / 454.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.2698, allocations: 34.56 kB / 454.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.2698, allocations: 0 / 454.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002142/0.2719, allocations: 0.928 MB / 455.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.272, allocations: 85.11 kB / 455.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.273, allocations: 0.6915 MB / 456.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.273, allocations: 29.7 kB / 456.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.2734, allocations: 0.5342 MB / 457.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2735, allocations: 115 kB / 457.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2737, allocations: 122.2 kB / 457.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.2739, allocations: 370.8 kB / 457.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.2742, allocations: 137.2 kB / 457.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.2748, allocations: 479.9 kB / 458.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009504/0.2758, allocations: 0.6138 MB / 459 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.2758, allocations: 4 kB / 459 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001249/0.277, allocations: 0.6468 MB / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.2771, allocations: 8 kB / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.2771, allocations: 12 kB / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.2773, allocations: 36.73 kB / 459.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.2778, allocations: 151.7 kB / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.279, allocations: 1.264 MB / 461.1 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.2795, allocations: 43.89 kB / 461.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.2796, allocations: 35.94 kB / 461.2 MB, free: 8.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.2799, allocations: 241.6 kB / 461.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.28, allocations: 67.58 kB / 461.5 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/0.2807, allocations: 333.1 kB / 461.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2807, allocations: 7.938 kB / 461.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2807, allocations: 0 / 461.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2807, allocations: 0 / 461.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2824, allocations: 0.9249 MB / 462.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.2824, allocations: 4 kB / 462.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.2827, allocations: 67.83 kB / 462.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.2828, allocations: 20.86 kB / 462.9 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.2829, allocations: 11.98 kB / 462.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.284, allocations: 1.249 MB / 464.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.284, allocations: 0 / 464.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.285, allocations: 0.5605 MB / 464.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.2852, allocations: 91.66 kB / 464.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.2853, allocations: 15.98 kB / 464.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.2856, allocations: 15.98 kB / 464.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.2857, allocations: 35.83 kB / 464.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.2857, allocations: 12 kB / 464.8 MB, free: 5.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006643/0.2864, allocations: 463 kB / 465.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2864, allocations: 0 / 465.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007284/0.2871, allocations: 168 kB / 465.5 MB, free: 4.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002294/0.2873, allocations: 130.6 kB / 465.6 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.2883, allocations: 468.4 kB / 466 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2883, allocations: 0 / 466 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.2887, allocations: 240.1 kB / 466.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/0.2896, allocations: 188.9 kB / 466.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.2922, allocations: 1.515 MB / 468 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2926, allocations: 361.1 kB / 468.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2927, allocations: 47.44 kB / 468.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2927, allocations: 0 / 468.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of Templates: time 0.02117/0.3139, allocations: 13.97 MB / 482.3 MB, free: 3.484 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.840643904171884]