Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 187 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000991/0.0009912, allocations: 94.28 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3153/0.3153, allocations: 43.5 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009571/0.0009572, allocations: 51.91 kB / 429.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09546, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2887/0.3842, allocations: 148.4 MB / 0.6205 GB, free: 11.05 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3854, allocations: 1.007 MB / 0.6215 GB, free: 10.26 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.3855, allocations: 1.188 kB / 0.6215 GB, free: 10.26 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3857, allocations: 31.94 kB / 0.6215 GB, free: 10.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.3862, allocations: 209.8 kB / 0.6217 GB, free: 10.08 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.3865, allocations: 101.3 kB / 0.6218 GB, free: 10.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.3868, allocations: 207.3 kB / 0.622 GB, free: 9.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.3868, allocations: 13.89 kB / 0.622 GB, free: 9.898 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.387, allocations: 83.09 kB / 0.6221 GB, free: 9.859 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.3871, allocations: 52.92 kB / 0.6221 GB, free: 9.832 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3871, allocations: 3 kB / 0.6221 GB, free: 9.832 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.3876, allocations: 274.6 kB / 0.6224 GB, free: 9.707 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.3877, allocations: 21.52 kB / 0.6224 GB, free: 9.691 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.3877, allocations: 50.14 kB / 0.6225 GB, free: 9.664 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.3881, allocations: 275.3 kB / 0.6227 GB, free: 9.516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3882, allocations: 0 / 0.6227 GB, free: 9.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3882, allocations: 4 kB / 0.6227 GB, free: 9.512 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.3882, allocations: 1.188 kB / 0.6227 GB, free: 9.512 MB / 442.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.0004626/0.3886, allocations: 410.2 kB / 0.6231 GB, free: 9.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3887, allocations: 9.438 kB / 0.6231 GB, free: 9.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.3906, allocations: 195.1 kB / 0.6233 GB, free: 9.012 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3909, allocations: 204.3 kB / 0.6235 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3909, allocations: 9.094 kB / 0.6235 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.3909, allocations: 6.719 kB / 0.6235 GB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.3914, allocations: 222.2 kB / 0.6237 GB, free: 8.609 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3914, allocations: 0 / 0.6237 GB, free: 8.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.3914, allocations: 6.469 kB / 0.6237 GB, free: 8.605 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3914, allocations: 1.812 kB / 0.6237 GB, free: 8.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.3919, allocations: 177.5 kB / 0.6239 GB, free: 8.516 MB / 442.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.0009285/0.3928, allocations: 0.5762 MB / 0.6245 GB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3931, allocations: 141.6 kB / 0.6246 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3932, allocations: 65.3 kB / 0.6247 GB, free: 7.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3933, allocations: 2.781 kB / 0.6247 GB, free: 7.832 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3933, allocations: 40.67 kB / 0.6247 GB, free: 7.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.3933, allocations: 0 / 0.6247 GB, free: 7.785 MB / 442.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.00509/0.3984, allocations: 1.3 MB / 0.626 GB, free: 6.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.3985, allocations: 53.62 kB / 0.626 GB, free: 6.848 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.3985, allocations: 113.8 kB / 0.6261 GB, free: 6.738 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3986, allocations: 36.31 kB / 0.6262 GB, free: 6.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.3986, allocations: 90.14 kB / 0.6263 GB, free: 6.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.3987, allocations: 74.75 kB / 0.6263 GB, free: 6.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.3988, allocations: 50.92 kB / 0.6264 GB, free: 6.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.3989, allocations: 318.8 kB / 0.6267 GB, free: 6.191 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.399, allocations: 73.92 kB / 0.6268 GB, free: 6.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3992, allocations: 107.4 kB / 0.6269 GB, free: 6.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3995, allocations: 186.5 kB / 0.627 GB, free: 5.969 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3995, allocations: 2.812 kB / 0.627 GB, free: 5.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000444/0.4, allocations: 257.6 kB / 0.6273 GB, free: 5.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4, allocations: 7.812 kB / 0.6273 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4, allocations: 0.8438 kB / 0.6273 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.4002, allocations: 53.33 kB / 0.6273 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.4005, allocations: 56.03 kB / 0.6274 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003685/0.4009, allocations: 0.5653 MB / 0.628 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.4011, allocations: 7.25 kB / 0.628 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.4011, allocations: 30.67 kB / 0.628 GB, free: 5.234 MB / 442.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 0.0001091/0.4013, allocations: 122.7 kB / 0.6281 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.4013, allocations: 9 kB / 0.6281 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.4021, allocations: 345.9 kB / 0.6284 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.4021, allocations: 10.39 kB / 0.6285 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4021, allocations: 0 / 0.6285 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4021, allocations: 4 kB / 0.6285 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.403, allocations: 0.6147 MB / 0.6291 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.403, allocations: 7.984 kB / 0.6291 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.4034, allocations: 55.97 kB / 0.6291 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.4034, allocations: 28.92 kB / 0.6291 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.4035, allocations: 8 kB / 0.6292 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/0.4043, allocations: 1.265 MB / 0.6304 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.4043, allocations: 7.969 kB / 0.6304 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/0.43, allocations: 5.148 MB / 0.6354 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.43, allocations: 85.02 kB / 0.6355 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.43, allocations: 8.219 kB / 0.6355 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.4303, allocations: 4 kB / 0.6355 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.4303, allocations: 27.97 kB / 0.6355 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.4304, allocations: 28.55 kB / 0.6356 GB, free: 13.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.4304, allocations: 87.27 kB / 0.6357 GB, free: 13.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4304, allocations: 0 / 0.6357 GB, free: 13.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007288/0.4312, allocations: 259.9 kB / 0.6359 GB, free: 12.85 MB / 458.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 (21): * Single equations (assignments): 20 * 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.001089/0.4323, allocations: 222.9 kB / 0.6361 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.4327, allocations: 207.8 kB / 0.6363 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4327, allocations: 4 kB / 0.6363 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.4331, allocations: 226.4 kB / 0.6365 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.4335, allocations: 45.73 kB / 0.6366 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4345, allocations: 0.82 MB / 0.6374 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.4348, allocations: 0.7128 MB / 0.6381 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005998/0.4354, allocations: 129.4 kB / 0.6382 GB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.4357, allocations: 83.5 kB / 0.6383 GB, free: 10.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4357, allocations: 3.938 kB / 0.6383 GB, free: 10.32 MB / 458.7 MB Notification: Performance of Templates: time 0.02009/0.4558, allocations: 17.77 MB / 0.6556 GB, free: 8.512 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches