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/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 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 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110 kB / 17.73 MB, free: 5.43 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.001005/0.001005, allocations: 192 kB / 18.67 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 60.09 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3617, allocations: 60.82 MB / 0.5188 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1624/0.5241, allocations: 149.4 MB / 0.6647 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.5254, allocations: 0.9733 MB / 0.6656 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.5255, allocations: 0 / 0.6656 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.5257, allocations: 27.83 kB / 0.6657 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.5263, allocations: 246.6 kB / 0.6659 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.5267, allocations: 111.6 kB / 0.666 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.5269, allocations: 179.2 kB / 0.6662 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.527, allocations: 8 kB / 0.6662 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.5272, allocations: 91.56 kB / 0.6663 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.5273, allocations: 51.83 kB / 0.6663 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.5273, allocations: 4 kB / 0.6663 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.5278, allocations: 263.7 kB / 0.6666 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.5279, allocations: 23.89 kB / 0.6666 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.5279, allocations: 43.8 kB / 0.6666 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.5284, allocations: 281.1 kB / 0.6669 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5284, allocations: 0 / 0.6669 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5284, allocations: 4 kB / 0.6669 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5284, allocations: 3.938 kB / 0.6669 GB, free: 3.883 MB / 0.5137 GB 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.000489/0.5289, allocations: 403.3 kB / 0.6673 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5289, allocations: 8.031 kB / 0.6673 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.531, allocations: 188.6 kB / 0.6675 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.5313, allocations: 219.6 kB / 0.6677 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.5314, allocations: 0 / 0.6677 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.5314, allocations: 16 kB / 0.6677 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.5319, allocations: 216.1 kB / 0.6679 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.5319, allocations: 0 / 0.6679 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.532, allocations: 7.938 kB / 0.6679 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.532, allocations: 4 kB / 0.6679 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.5324, allocations: 171.9 kB / 0.6681 GB, free: 2.574 MB / 0.5137 GB 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.0009879/0.5334, allocations: 0.5793 MB / 0.6687 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.5337, allocations: 138.5 kB / 0.6688 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5339, allocations: 72.83 kB / 0.6689 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.5339, allocations: 0 / 0.6689 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.534, allocations: 34.56 kB / 0.6689 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.534, allocations: 0 / 0.6689 GB, free: 1.676 MB / 0.5137 GB 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.005165/0.5391, allocations: 1.304 MB / 0.6702 GB, free: 288 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5392, allocations: 59.34 kB / 0.6702 GB, free: 216 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.5393, allocations: 113.8 kB / 0.6703 GB, free: 92 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.5393, allocations: 33.7 kB / 0.6704 GB, free: 52 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.5394, allocations: 95.88 kB / 0.6705 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.5394, allocations: 67.09 kB / 0.6705 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.5395, allocations: 57.69 kB / 0.6706 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5397, allocations: 326.8 kB / 0.6709 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5398, allocations: 67.97 kB / 0.671 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.54, allocations: 103.3 kB / 0.6711 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.5404, allocations: 185.4 kB / 0.6712 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5404, allocations: 8 kB / 0.6712 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004873/0.5409, allocations: 261.2 kB / 0.6715 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5409, allocations: 6.812 kB / 0.6715 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5409, allocations: 4 kB / 0.6715 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.5411, allocations: 52.92 kB / 0.6715 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.5414, allocations: 55.89 kB / 0.6716 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003857/0.5418, allocations: 0.564 MB / 0.6722 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.542, allocations: 8.016 kB / 0.6722 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.542, allocations: 24 kB / 0.6722 GB, free: 14.12 MB / 0.5294 GB 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.0001203/0.5422, allocations: 125.9 kB / 0.6723 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.5422, allocations: 11.89 kB / 0.6723 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.543, allocations: 343 kB / 0.6726 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.543, allocations: 4 kB / 0.6726 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.543, allocations: 0 / 0.6726 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.543, allocations: 0 / 0.6726 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.544, allocations: 0.6228 MB / 0.6733 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.544, allocations: 4 kB / 0.6733 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.5444, allocations: 63.89 kB / 0.6733 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-05/0.5444, allocations: 16.84 kB / 0.6733 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.5445, allocations: 20.08 kB / 0.6734 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009668/0.5455, allocations: 1.371 MB / 0.6747 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5455, allocations: 0 / 0.6747 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.5462, allocations: 439.5 kB / 0.6751 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.5462, allocations: 89.05 kB / 0.6752 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.5463, allocations: 4 kB / 0.6752 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5465, allocations: 11.98 kB / 0.6752 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.5466, allocations: 19.98 kB / 0.6752 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.5466, allocations: 23.98 kB / 0.6753 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.5467, allocations: 91.27 kB / 0.6753 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5467, allocations: 0 / 0.6753 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004228/0.5471, allocations: 91.94 kB / 0.6754 GB, free: 10.52 MB / 0.5294 GB 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.0003688/0.5475, allocations: 155.1 kB / 0.6756 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.548, allocations: 199.8 kB / 0.6758 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.548, allocations: 0 / 0.6758 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.5484, allocations: 224.4 kB / 0.676 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.5488, allocations: 56.8 kB / 0.676 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/0.5496, allocations: 471 kB / 0.6765 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.55, allocations: 0.7085 MB / 0.6772 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.5503, allocations: 81.38 kB / 0.6773 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.5505, allocations: 51.42 kB / 0.6773 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.5505, allocations: 0 / 0.6773 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.009636/0.5601, allocations: 5.595 MB / 0.6828 GB, free: 2.926 MB / 0.5294 GB 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches