Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.0009968/0.0009968, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001116/0.001116, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9228/0.9228, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1379/0.1379, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 379.3 MB, free: 23.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.033e-05, allocations: 9.484 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2717/0.2717, allocations: 142.5 MB / 0.5096 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2729, allocations: 1.055 MB / 0.5106 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.273, allocations: 0.5 kB / 0.5106 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.2732, allocations: 26.91 kB / 0.5106 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006754/0.2739, allocations: 289.6 kB / 0.5109 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2742, allocations: 119.7 kB / 0.511 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.2744, allocations: 185.9 kB / 0.5112 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.2744, allocations: 6.719 kB / 0.5112 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.2746, allocations: 118.4 kB / 0.5113 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.2747, allocations: 53.19 kB / 0.5114 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2747, allocations: 3.406 kB / 0.5114 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.2751, allocations: 264.4 kB / 0.5116 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.2751, allocations: 23.12 kB / 0.5117 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.2751, allocations: 31.31 kB / 0.5117 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.2755, allocations: 305.9 kB / 0.512 GB, free: 16.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2755, allocations: 4 kB / 0.512 GB, free: 16.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2755, allocations: 1.094 kB / 0.512 GB, free: 16.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.2755, allocations: 0 / 0.512 GB, free: 16.47 MB / 410.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.0003135/0.2758, allocations: 443.5 kB / 0.5124 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.2758, allocations: 9.5 kB / 0.5124 GB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2769, allocations: 214.6 kB / 0.5126 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.2771, allocations: 150.7 kB / 0.5128 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2771, allocations: 10.98 kB / 0.5128 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.2771, allocations: 17 kB / 0.5128 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.2773, allocations: 272.3 kB / 0.5131 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2773, allocations: 0 / 0.5131 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.2774, allocations: 7.484 kB / 0.5131 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2774, allocations: 0 / 0.5131 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.2775, allocations: 104.2 kB / 0.5132 GB, free: 15.73 MB / 410.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.0004929/0.278, allocations: 0.6171 MB / 0.5138 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.2781, allocations: 125.7 kB / 0.5139 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.2782, allocations: 50.94 kB / 0.5139 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2782, allocations: 4.938 kB / 0.5139 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2782, allocations: 37.83 kB / 0.514 GB, free: 15.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.2782, allocations: 0 / 0.514 GB, free: 15.12 MB / 410.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.002117/0.2803, allocations: 0.8569 MB / 0.5148 GB, free: 14.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.42e-05/0.2803, allocations: 56.44 kB / 0.5149 GB, free: 14.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.2804, allocations: 168 kB / 0.515 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2804, allocations: 32.45 kB / 0.5151 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.2804, allocations: 141.1 kB / 0.5152 GB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.2805, allocations: 73.06 kB / 0.5153 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.2805, allocations: 58.11 kB / 0.5153 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.2806, allocations: 0.4884 MB / 0.5158 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.2806, allocations: 38.41 kB / 0.5158 GB, free: 13.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.2807, allocations: 81.45 kB / 0.5159 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.2808, allocations: 139.5 kB / 0.516 GB, free: 13.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2808, allocations: 0 / 0.516 GB, free: 13.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002176/0.281, allocations: 203.2 kB / 0.5162 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.281, allocations: 5.469 kB / 0.5162 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.281, allocations: 3.625 kB / 0.5162 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.808e-05/0.2811, allocations: 34.61 kB / 0.5163 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2813, allocations: 58.97 kB / 0.5163 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001812/0.2815, allocations: 0.8061 MB / 0.5171 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.2815, allocations: 7.031 kB / 0.5171 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2816, allocations: 21.38 kB / 0.5171 GB, free: 12.88 MB / 410.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.837e-05/0.2816, allocations: 168.7 kB / 0.5173 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.2817, allocations: 15.61 kB / 0.5173 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.282, allocations: 248.5 kB / 0.5176 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.282, allocations: 0 / 0.5176 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.282, allocations: 2.531 kB / 0.5176 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.282, allocations: 0 / 0.5176 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.2824, allocations: 0.5164 MB / 0.5181 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2824, allocations: 2.219 kB / 0.5181 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2826, allocations: 52 kB / 0.5181 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.73e-05/0.2827, allocations: 25.56 kB / 0.5181 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2827, allocations: 16.42 kB / 0.5182 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003984/0.2831, allocations: 1.706 MB / 0.5198 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2831, allocations: 0 / 0.5198 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.2834, allocations: 417.8 kB / 0.5202 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.2834, allocations: 7.391 kB / 0.5202 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2834, allocations: 6.031 kB / 0.5202 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2835, allocations: 8.906 kB / 0.5202 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.2835, allocations: 23.55 kB / 0.5203 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.2836, allocations: 24.14 kB / 0.5203 GB, free: 10.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.914e-05/0.2836, allocations: 124.6 kB / 0.5204 GB, free: 10.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2836, allocations: 0 / 0.5204 GB, free: 10.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.2839, allocations: 83.84 kB / 0.5205 GB, free: 10.23 MB / 410.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.0002947/0.2842, allocations: 156.1 kB / 0.5206 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2844, allocations: 160.6 kB / 0.5208 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2844, allocations: 0 / 0.5208 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.2846, allocations: 255.7 kB / 0.521 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2849, allocations: 61.22 kB / 0.5211 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.2855, allocations: 400 kB / 0.5215 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.2856, allocations: 68.94 kB / 0.5215 GB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.2858, allocations: 64.64 kB / 0.5216 GB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2859, allocations: 143.4 kB / 0.5217 GB, free: 9.473 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2859, allocations: 0 / 0.5217 GB, free: 9.473 MB / 410.7 MB Notification: Performance of Templates: time 0.006939/0.2929, allocations: 6.01 MB / 0.5276 GB, free: 8.918 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.40076403087005]