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.0009882/0.0009882, allocations: 96.16 kB / 18.01 MB, free: 5.734 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.001514/0.001514, allocations: 177.7 kB / 18.91 MB, free: 4.871 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.407/1.407, allocations: 223.3 MB / 242.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 44.25 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 13.03 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3769/0.4949, allocations: 145.2 MB / 0.6037 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.4963, allocations: 0.9939 MB / 0.6046 GB, free: 488 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.4964, allocations: 0 / 0.6046 GB, free: 488 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.4967, allocations: 26.33 kB / 0.6047 GB, free: 464 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.4974, allocations: 216 kB / 0.6049 GB, free: 252 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.4977, allocations: 101.3 kB / 0.605 GB, free: 152 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.498, allocations: 211.2 kB / 0.6052 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.4981, allocations: 11.94 kB / 0.6052 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.4983, allocations: 81.67 kB / 0.6053 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4984, allocations: 55.81 kB / 0.6053 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.4984, allocations: 4 kB / 0.6053 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.499, allocations: 267.6 kB / 0.6056 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.499, allocations: 19.92 kB / 0.6056 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.4991, allocations: 69.48 kB / 0.6057 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.4995, allocations: 203.6 kB / 0.6059 GB, free: 15.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4995, allocations: 0 / 0.6059 GB, free: 15.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4995, allocations: 0 / 0.6059 GB, free: 15.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.4995, allocations: 0 / 0.6059 GB, free: 15.24 MB / 446.1 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.0004819/0.5, allocations: 383.9 kB / 0.6062 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5, allocations: 12.03 kB / 0.6062 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5022, allocations: 188.6 kB / 0.6064 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.5024, allocations: 204.1 kB / 0.6066 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5024, allocations: 11.94 kB / 0.6066 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.5025, allocations: 12.59 kB / 0.6066 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.503, allocations: 226.3 kB / 0.6068 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.503, allocations: 0 / 0.6068 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.5031, allocations: 8 kB / 0.6068 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5031, allocations: 0 / 0.6068 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.5035, allocations: 171.8 kB / 0.607 GB, free: 13.95 MB / 446.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.001089/0.5046, allocations: 0.5759 MB / 0.6076 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.505, allocations: 149.3 kB / 0.6077 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5052, allocations: 68.83 kB / 0.6078 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.5052, allocations: 3.984 kB / 0.6078 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5052, allocations: 38.56 kB / 0.6078 GB, free: 13.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5052, allocations: 0 / 0.6078 GB, free: 13.04 MB / 446.1 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.005564/0.5108, allocations: 1.3 MB / 0.6091 GB, free: 11.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.5109, allocations: 51.41 kB / 0.6091 GB, free: 11.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.511, allocations: 109.8 kB / 0.6092 GB, free: 11.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.511, allocations: 29.7 kB / 0.6093 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.5111, allocations: 100 kB / 0.6094 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.5112, allocations: 70.94 kB / 0.6094 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.5112, allocations: 25.7 kB / 0.6095 GB, free: 11.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5113, allocations: 322.8 kB / 0.6098 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.5115, allocations: 63.97 kB / 0.6098 GB, free: 10.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.5117, allocations: 111.2 kB / 0.6099 GB, free: 10.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.5121, allocations: 188.8 kB / 0.6101 GB, free: 10.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5121, allocations: 0 / 0.6101 GB, free: 10.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005093/0.5126, allocations: 250.2 kB / 0.6104 GB, free: 10.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5126, allocations: 4.094 kB / 0.6104 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5126, allocations: 11.98 kB / 0.6104 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.5128, allocations: 52.83 kB / 0.6104 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.5132, allocations: 51.91 kB / 0.6105 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004155/0.5136, allocations: 0.564 MB / 0.611 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.5138, allocations: 16.03 kB / 0.611 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.5139, allocations: 33.67 kB / 0.6111 GB, free: 9.516 MB / 446.1 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.0001314/0.514, allocations: 121.8 kB / 0.6112 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.514, allocations: 7.906 kB / 0.6112 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.5149, allocations: 349.6 kB / 0.6115 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.5149, allocations: 4.875 kB / 0.6115 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5149, allocations: 0 / 0.6115 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5149, allocations: 3.984 kB / 0.6115 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.5159, allocations: 0.6189 MB / 0.6121 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5159, allocations: 4 kB / 0.6121 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.5163, allocations: 60.05 kB / 0.6122 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-05/0.5164, allocations: 24.84 kB / 0.6122 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.5164, allocations: 15.98 kB / 0.6122 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009137/0.5173, allocations: 1.272 MB / 0.6135 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5174, allocations: 7.969 kB / 0.6135 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.5181, allocations: 433.5 kB / 0.6139 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.5182, allocations: 92.89 kB / 0.614 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.5182, allocations: 8 kB / 0.614 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5184, allocations: 7.984 kB / 0.614 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.5185, allocations: 19.98 kB / 0.614 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.5185, allocations: 27.92 kB / 0.6141 GB, free: 6.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.5186, allocations: 91.27 kB / 0.6141 GB, free: 6.105 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5186, allocations: 4.062 kB / 0.6141 GB, free: 6.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.519, allocations: 87.94 kB / 0.6142 GB, free: 6.016 MB / 446.1 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.0003518/0.5194, allocations: 143.7 kB / 0.6144 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.5199, allocations: 207.7 kB / 0.6146 GB, free: 5.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5199, allocations: 0 / 0.6146 GB, free: 5.664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.5202, allocations: 222.9 kB / 0.6148 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.5207, allocations: 55.92 kB / 0.6148 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.5216, allocations: 0.5945 MB / 0.6154 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5219, allocations: 0.7054 MB / 0.6161 GB, free: 4.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.5222, allocations: 59.41 kB / 0.6162 GB, free: 3.961 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5222, allocations: 0 / 0.6162 GB, free: 3.961 MB / 446.1 MB Notification: Performance of Templates: time 0.006712/0.5289, allocations: 3.791 MB / 0.6199 GB, free: 184 kB / 446.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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