Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 161.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9407/0.9407, allocations: 177 MB / 205.2 MB, free: 4.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1508/0.1508, allocations: 34.88 MB / 296.6 MB, free: 13.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 325.9 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.442e-05, allocations: 5.406 kB / 325.9 MB, free: 88 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2653/0.2653, allocations: 144.7 MB / 470.5 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.2662, allocations: 1.077 MB / 471.6 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.2663, allocations: 4 kB / 471.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2665, allocations: 31.77 kB / 471.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.2671, allocations: 288.8 kB / 471.9 MB, free: 328 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2673, allocations: 115.6 kB / 472.1 MB, free: 212 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.2675, allocations: 187.1 kB / 472.2 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.2675, allocations: 7.938 kB / 472.2 MB, free: 16 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.2677, allocations: 119.6 kB / 472.4 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.2678, allocations: 51.88 kB / 472.4 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2678, allocations: 4 kB / 472.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.2681, allocations: 251.6 kB / 472.7 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.2682, allocations: 23.92 kB / 472.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2682, allocations: 35.91 kB / 472.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.2685, allocations: 307.2 kB / 473 MB, free: 15.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2685, allocations: 4 kB / 473 MB, free: 15.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2685, allocations: 0 / 473 MB, free: 15.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.2685, allocations: 0 / 473 MB, free: 15.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003513/0.2689, allocations: 313.8 kB / 473.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.2689, allocations: 8.031 kB / 473.3 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.2702, allocations: 250.5 kB / 473.6 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2703, allocations: 125.7 kB / 473.7 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.2703, allocations: 4.562 kB / 473.7 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.2704, allocations: 19.89 kB / 473.7 MB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.2706, allocations: 261.9 kB / 474 MB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2706, allocations: 7.938 kB / 474 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.2706, allocations: 4 kB / 474 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2706, allocations: 4 kB / 474 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2707, allocations: 75.95 kB / 474.1 MB, free: 14.1 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.2712, allocations: 432.2 kB / 474.5 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2714, allocations: 102.5 kB / 474.6 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.2714, allocations: 40.84 kB / 474.6 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2714, allocations: 256 / 474.6 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2715, allocations: 38.55 kB / 474.7 MB, free: 13.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.2715, allocations: 0 / 474.7 MB, free: 13.46 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.002086/0.2735, allocations: 0.8432 MB / 475.5 MB, free: 12.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.2736, allocations: 55.41 kB / 475.6 MB, free: 12.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.2736, allocations: 114.7 kB / 475.7 MB, free: 12.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2736, allocations: 25.7 kB / 475.7 MB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.2737, allocations: 99.98 kB / 475.8 MB, free: 12.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.2737, allocations: 71.39 kB / 475.9 MB, free: 12.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.2738, allocations: 49.69 kB / 475.9 MB, free: 12.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.2738, allocations: 322.8 kB / 476.2 MB, free: 11.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.2739, allocations: 27.98 kB / 476.3 MB, free: 11.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.2739, allocations: 63.33 kB / 476.3 MB, free: 11.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.274, allocations: 114.1 kB / 476.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.274, allocations: 3.938 kB / 476.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000181/0.2742, allocations: 154.3 kB / 476.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2742, allocations: 7.938 kB / 476.6 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2742, allocations: 4 kB / 476.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.2744, allocations: 28.88 kB / 476.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2745, allocations: 63.88 kB / 476.7 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/0.2818, allocations: 1.608 MB / 478.3 MB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.2819, allocations: 11.98 kB / 478.3 MB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.2819, allocations: 12 kB / 478.3 MB, free: 9.578 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 7.886e-05/0.282, allocations: 128.6 kB / 478.5 MB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.282, allocations: 11.98 kB / 478.5 MB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.2822, allocations: 201.9 kB / 478.7 MB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2822, allocations: 8 kB / 478.7 MB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2822, allocations: 0 / 478.7 MB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2822, allocations: 3.984 kB / 478.7 MB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.2826, allocations: 375.3 kB / 479 MB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2826, allocations: 0 / 479 MB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2828, allocations: 43.97 kB / 479.1 MB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.476e-05/0.2828, allocations: 24.88 kB / 479.1 MB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2828, allocations: 11.98 kB / 479.1 MB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004343/0.2833, allocations: 1.152 MB / 480.3 MB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2833, allocations: 0 / 480.3 MB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.2838, allocations: 307.5 kB / 480.6 MB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.2838, allocations: 12.11 kB / 480.6 MB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.2838, allocations: 8 kB / 480.6 MB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.2839, allocations: 6.938 kB / 480.6 MB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.2839, allocations: 23.89 kB / 480.6 MB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.2839, allocations: 16 kB / 480.6 MB, free: 7.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.398e-05/0.284, allocations: 16.84 kB / 480.7 MB, free: 7.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.284, allocations: 0 / 480.7 MB, free: 7.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.2842, allocations: 83.88 kB / 480.7 MB, free: 7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (20): * Single equations (assignments): 19 * 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.0002268/0.2844, allocations: 140.1 kB / 480.9 MB, free: 6.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.2846, allocations: 243.1 kB / 481.1 MB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2846, allocations: 4 kB / 481.1 MB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2848, allocations: 179.3 kB / 481.3 MB, free: 6.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.285, allocations: 62.48 kB / 481.4 MB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.2856, allocations: 389.3 kB / 481.7 MB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.2857, allocations: 69.19 kB / 481.8 MB, free: 5.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.2858, allocations: 61.45 kB / 481.9 MB, free: 5.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.286, allocations: 111.3 kB / 482 MB, free: 5.68 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.286, allocations: 0 / 482 MB, free: 5.68 MB / 426.7 MB Notification: Performance of Templates: time 0.00683/0.2928, allocations: 6.205 MB / 488.2 MB, free: 15.53 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.173126222100109]