Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 100.6 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3552/0.3552, allocations: 44.13 MB / 386.1 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 43.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3362, allocations: 60.8 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.155/0.4913, allocations: 147.1 MB / 0.6501 GB, free: 12.51 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.4927, allocations: 1.009 MB / 0.6511 GB, free: 11.5 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.4928, allocations: 4 kB / 0.6511 GB, free: 11.5 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.493, allocations: 19.89 kB / 0.6511 GB, free: 11.48 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.4938, allocations: 222.9 kB / 0.6513 GB, free: 11.26 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.4942, allocations: 93.67 kB / 0.6514 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.4945, allocations: 211.2 kB / 0.6516 GB, free: 10.96 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.4945, allocations: 4 kB / 0.6516 GB, free: 10.96 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.4947, allocations: 93.73 kB / 0.6517 GB, free: 10.87 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.4949, allocations: 51.83 kB / 0.6517 GB, free: 10.82 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.4949, allocations: 4 kB / 0.6517 GB, free: 10.82 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.4954, allocations: 271.7 kB / 0.652 GB, free: 10.55 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.4955, allocations: 23.84 kB / 0.652 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.4956, allocations: 39.8 kB / 0.6521 GB, free: 10.49 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.496, allocations: 287.4 kB / 0.6523 GB, free: 10.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4961, allocations: 0 / 0.6523 GB, free: 10.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.4961, allocations: 0 / 0.6523 GB, free: 10.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4961, allocations: 4 kB / 0.6523 GB, free: 10.2 MB / 474.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.0005441/0.4966, allocations: 407.2 kB / 0.6527 GB, free: 9.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4967, allocations: 8.031 kB / 0.6527 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.4987, allocations: 188.6 kB / 0.6529 GB, free: 9.566 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.499, allocations: 207.6 kB / 0.6531 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.499, allocations: 12 kB / 0.6531 GB, free: 9.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.4991, allocations: 11.98 kB / 0.6531 GB, free: 9.301 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.4996, allocations: 216.1 kB / 0.6533 GB, free: 9.074 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4996, allocations: 4 kB / 0.6533 GB, free: 9.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.4997, allocations: 8 kB / 0.6533 GB, free: 9.062 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4997, allocations: 0 / 0.6533 GB, free: 9.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.5001, allocations: 175.8 kB / 0.6535 GB, free: 8.891 MB / 474.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.001054/0.5012, allocations: 0.5836 MB / 0.6541 GB, free: 8.258 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.5015, allocations: 138.5 kB / 0.6542 GB, free: 8.113 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.5017, allocations: 68.83 kB / 0.6543 GB, free: 8.043 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.5017, allocations: 4 kB / 0.6543 GB, free: 8.039 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5018, allocations: 30.56 kB / 0.6543 GB, free: 8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.5018, allocations: 0 / 0.6543 GB, free: 8 MB / 474.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.005417/0.5072, allocations: 1.301 MB / 0.6556 GB, free: 6.609 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.5072, allocations: 55.41 kB / 0.6556 GB, free: 6.543 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5074, allocations: 113.8 kB / 0.6557 GB, free: 6.422 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.5074, allocations: 25.7 kB / 0.6558 GB, free: 6.391 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.5075, allocations: 96.03 kB / 0.6559 GB, free: 6.293 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.5075, allocations: 74.89 kB / 0.6559 GB, free: 6.219 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.5076, allocations: 53.69 kB / 0.656 GB, free: 6.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5078, allocations: 326.8 kB / 0.6563 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5079, allocations: 63.97 kB / 0.6564 GB, free: 5.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.5081, allocations: 111.2 kB / 0.6565 GB, free: 5.648 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.5085, allocations: 184.8 kB / 0.6566 GB, free: 5.457 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5085, allocations: 3.938 kB / 0.6566 GB, free: 5.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004739/0.5089, allocations: 256.3 kB / 0.6569 GB, free: 5.195 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.509, allocations: 8 kB / 0.6569 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.509, allocations: 0 / 0.6569 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.5092, allocations: 56.92 kB / 0.657 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.5095, allocations: 55.89 kB / 0.657 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/0.51, allocations: 0.5601 MB / 0.6576 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.5102, allocations: 15.95 kB / 0.6576 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.5102, allocations: 28 kB / 0.6576 GB, free: 4.445 MB / 474.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.0001166/0.5103, allocations: 121.9 kB / 0.6577 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.5104, allocations: 11.89 kB / 0.6577 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.5112, allocations: 343.3 kB / 0.658 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5112, allocations: 0 / 0.658 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5112, allocations: 4 kB / 0.6581 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5113, allocations: 0 / 0.6581 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.5122, allocations: 0.6411 MB / 0.6587 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5123, allocations: 0 / 0.6587 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.5126, allocations: 59.95 kB / 0.6587 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.811e-05/0.5127, allocations: 24.88 kB / 0.6588 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.5127, allocations: 19.98 kB / 0.6588 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008548/0.5136, allocations: 1.276 MB / 0.66 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5136, allocations: 0 / 0.66 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02701/0.5406, allocations: 5.116 MB / 0.665 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.5407, allocations: 89.05 kB / 0.6651 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.5407, allocations: 4 kB / 0.6651 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.541, allocations: 20.11 kB / 0.6651 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.541, allocations: 23.97 kB / 0.6652 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5411, allocations: 27.98 kB / 0.6652 GB, free: 12.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.5412, allocations: 83.28 kB / 0.6653 GB, free: 12.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5412, allocations: 0 / 0.6653 GB, free: 12.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008279/0.542, allocations: 263.9 kB / 0.6655 GB, free: 11.78 MB / 490.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.00116/0.5432, allocations: 215.5 kB / 0.6657 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.5437, allocations: 199 kB / 0.6659 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5437, allocations: 0 / 0.6659 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.544, allocations: 222.5 kB / 0.6661 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.5445, allocations: 57.61 kB / 0.6662 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.5456, allocations: 0.813 MB / 0.667 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.5459, allocations: 0.7092 MB / 0.6677 GB, free: 9.469 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006169/0.5465, allocations: 121.4 kB / 0.6678 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.5468, allocations: 83.39 kB / 0.6679 GB, free: 9.273 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5468, allocations: 4 kB / 0.6679 GB, free: 9.27 MB / 490.7 MB Notification: Performance of Templates: time 0.2138/0.7606, allocations: 17.78 MB / 0.6852 GB, free: 139 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches