Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 97.5 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 199.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3731/0.3731, allocations: 43.5 MB / 313.6 MB, free: 8.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 59.91 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1614, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5416/0.703, allocations: 177.9 MB / 0.6034 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008931/0.712, allocations: 5.814 MB / 0.6091 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.713, allocations: 27.81 kB / 0.6091 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.7146, allocations: 282.5 kB / 0.6094 GB, free: 4.004 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005481/0.7201, allocations: 1.45 MB / 0.6108 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.7238, allocations: 1.152 MB / 0.6119 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.7264, allocations: 1.848 MB / 0.6137 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.727, allocations: 462.6 kB / 0.6142 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.7297, allocations: 1.206 MB / 0.6153 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.7309, allocations: 0.7901 MB / 0.6161 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.731, allocations: 64 kB / 0.6162 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.7328, allocations: 0.745 MB / 0.6169 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.7331, allocations: 275.2 kB / 0.6172 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.7335, allocations: 402.2 kB / 0.6175 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.7353, allocations: 1.422 MB / 0.6189 GB, free: 10.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7353, allocations: 0 / 0.6189 GB, free: 10.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7353, allocations: 0 / 0.6189 GB, free: 10.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.7353, allocations: 3.938 kB / 0.6189 GB, free: 10.21 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002261/0.7376, allocations: 1.131 MB / 0.62 GB, free: 9.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7376, allocations: 15.89 kB / 0.6201 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008229/0.7385, allocations: 139.1 kB / 0.6202 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.7392, allocations: 0.5002 MB / 0.6207 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.7393, allocations: 103.8 kB / 0.6208 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.945e-05/0.7394, allocations: 55.98 kB / 0.6208 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.7407, allocations: 0.8174 MB / 0.6216 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.7407, allocations: 7.938 kB / 0.6216 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.7408, allocations: 27.98 kB / 0.6217 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.7409, allocations: 40.98 kB / 0.6217 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.7422, allocations: 0.6165 MB / 0.6223 GB, free: 6.586 MB / 494.1 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.005759/0.748, allocations: 3.979 MB / 0.6262 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.7487, allocations: 351.6 kB / 0.6265 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.7491, allocations: 181.3 kB / 0.6267 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.7497, allocations: 353.5 kB / 0.627 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.7497, allocations: 38.84 kB / 0.6271 GB, free: 1.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.585e-06/0.7498, allocations: 0 / 0.6271 GB, free: 1.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.3418/1.092, allocations: 1.667 MB / 0.6287 GB, free: 159 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.092, allocations: 131.2 kB / 0.6288 GB, free: 158.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/1.093, allocations: 0.6161 MB / 0.6294 GB, free: 158.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/1.093, allocations: 33.61 kB / 0.6295 GB, free: 158.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/1.093, allocations: 369.5 kB / 0.6298 GB, free: 158.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.093, allocations: 145.7 kB / 0.63 GB, free: 158.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/1.093, allocations: 157.3 kB / 0.6301 GB, free: 158.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/1.093, allocations: 374.9 kB / 0.6305 GB, free: 158.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/1.094, allocations: 199.2 kB / 0.6306 GB, free: 158.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/1.094, allocations: 0.5157 MB / 0.6312 GB, free: 157.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/1.095, allocations: 0.7493 MB / 0.6319 GB, free: 157.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.095, allocations: 3 kB / 0.6319 GB, free: 157.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001316/1.096, allocations: 0.8804 MB / 0.6327 GB, free: 157.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.096, allocations: 8.312 kB / 0.6328 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.096, allocations: 11.53 kB / 0.6328 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/1.098, allocations: 317 kB / 0.6331 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/1.098, allocations: 124.8 kB / 0.6332 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009719/1.099, allocations: 0.9251 MB / 0.6341 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/1.1, allocations: 44.08 kB / 0.6341 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/1.1, allocations: 65.42 kB / 0.6342 GB, free: 156.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003776/1.1, allocations: 253.7 kB / 0.6344 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.1, allocations: 64.75 kB / 0.6345 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/1.102, allocations: 0.6884 MB / 0.6352 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/1.102, allocations: 5.719 kB / 0.6352 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.102, allocations: 0 / 0.6352 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/1.102, allocations: 4.594 kB / 0.6352 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/1.104, allocations: 1.611 MB / 0.6368 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.104, allocations: 2.562 kB / 0.6368 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.105, allocations: 208.8 kB / 0.637 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/1.105, allocations: 23.31 kB / 0.637 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/1.105, allocations: 21.94 kB / 0.637 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/1.107, allocations: 2.879 MB / 0.6398 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.107, allocations: 0.5625 kB / 0.6398 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.108, allocations: 0.8124 MB / 0.6406 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/1.109, allocations: 191.1 kB / 0.6408 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/1.109, allocations: 9.406 kB / 0.6408 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/1.109, allocations: 29.06 kB / 0.6408 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/1.109, allocations: 45.02 kB / 0.6409 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/1.109, allocations: 42.45 kB / 0.6409 GB, free: 151.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004716/1.11, allocations: 438.1 kB / 0.6413 GB, free: 151.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.11, allocations: 3.609 kB / 0.6413 GB, free: 151.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001079/1.111, allocations: 293.1 kB / 0.6416 GB, free: 151.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0008637/1.112, allocations: 378.5 kB / 0.642 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/1.113, allocations: 0.5949 MB / 0.6425 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.113, allocations: 3.156 kB / 0.6426 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009967/1.114, allocations: 409.9 kB / 0.6429 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.116, allocations: 383.7 kB / 0.6433 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/1.118, allocations: 1.519 MB / 0.6448 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/1.118, allocations: 0.9249 MB / 0.6457 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009562/1.119, allocations: 270.4 kB / 0.646 GB, free: 149.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.119, allocations: 97.02 kB / 0.646 GB, free: 149.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/1.119, allocations: 0 / 0.646 GB, free: 149.4 MB / 494.1 MB Notification: Performance of Templates: time 0.04074/1.16, allocations: 18.26 MB / 0.6639 GB, free: 147.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches