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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 115.1 kB / 17.08 MB, free: 6.008 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.001385/0.001385, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.702/1.702, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 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.001386/0.001386, allocations: 67.89 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4261/0.5324, allocations: 150.6 MB / 0.6356 GB, free: 3.961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.5336, allocations: 0.9697 MB / 0.6365 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.5337, allocations: 4 kB / 0.6365 GB, free: 3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.534, allocations: 35.75 kB / 0.6366 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006004/0.5347, allocations: 256.2 kB / 0.6368 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.535, allocations: 109.8 kB / 0.6369 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.5352, allocations: 163.3 kB / 0.6371 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.5353, allocations: 19.91 kB / 0.6371 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.5355, allocations: 87.62 kB / 0.6372 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.5356, allocations: 51.83 kB / 0.6372 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.5356, allocations: 4 kB / 0.6372 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.5361, allocations: 259.7 kB / 0.6375 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.5362, allocations: 23.91 kB / 0.6375 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.5362, allocations: 47.8 kB / 0.6375 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.5367, allocations: 274.4 kB / 0.6378 GB, free: 1.711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.5367, allocations: 8 kB / 0.6378 GB, free: 1.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5367, allocations: 7.938 kB / 0.6378 GB, free: 1.695 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.5367, allocations: 0 / 0.6378 GB, free: 1.695 MB / 478.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.0005037/0.5372, allocations: 403.2 kB / 0.6382 GB, free: 1.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5372, allocations: 15.89 kB / 0.6382 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.5392, allocations: 189.1 kB / 0.6384 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.5395, allocations: 208.4 kB / 0.6386 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5395, allocations: 19.92 kB / 0.6386 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.5396, allocations: 8 kB / 0.6386 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.5401, allocations: 219.5 kB / 0.6388 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5401, allocations: 0 / 0.6388 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.5401, allocations: 8 kB / 0.6388 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5402, allocations: 0 / 0.6388 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.5406, allocations: 175.8 kB / 0.639 GB, free: 388 kB / 478.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.0009887/0.5416, allocations: 0.5603 MB / 0.6396 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.5419, allocations: 142.5 kB / 0.6397 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.5421, allocations: 68.83 kB / 0.6398 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.5421, allocations: 4 kB / 0.6398 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5421, allocations: 34.55 kB / 0.6398 GB, free: 15.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.5421, allocations: 0 / 0.6398 GB, free: 15.5 MB / 494.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.004909/0.5471, allocations: 1.313 MB / 0.6411 GB, free: 14.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5471, allocations: 59.39 kB / 0.6411 GB, free: 14.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.5472, allocations: 113.8 kB / 0.6412 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.5472, allocations: 25.7 kB / 0.6413 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.5473, allocations: 91.98 kB / 0.6413 GB, free: 13.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.5473, allocations: 70.98 kB / 0.6414 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.5475, allocations: 57.7 kB / 0.6415 GB, free: 13.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5476, allocations: 322.8 kB / 0.6418 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5477, allocations: 71.89 kB / 0.6418 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.5479, allocations: 107.2 kB / 0.6419 GB, free: 13.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.5482, allocations: 187.3 kB / 0.6421 GB, free: 12.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5482, allocations: 0 / 0.6421 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004614/0.5487, allocations: 254.2 kB / 0.6424 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5487, allocations: 8 kB / 0.6424 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5487, allocations: 0 / 0.6424 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.5489, allocations: 56.92 kB / 0.6424 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.5492, allocations: 51.91 kB / 0.6425 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003781/0.5496, allocations: 0.5601 MB / 0.643 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.5498, allocations: 8.031 kB / 0.643 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.5498, allocations: 31.98 kB / 0.6431 GB, free: 11.94 MB / 494.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.0001103/0.55, allocations: 129.8 kB / 0.6432 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.55, allocations: 11.81 kB / 0.6432 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.5507, allocations: 340.5 kB / 0.6435 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5507, allocations: 3.938 kB / 0.6435 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5508, allocations: 0 / 0.6435 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5508, allocations: 3.984 kB / 0.6435 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.5517, allocations: 0.6269 MB / 0.6441 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5517, allocations: 0 / 0.6441 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.5521, allocations: 56.83 kB / 0.6442 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.5522, allocations: 28.78 kB / 0.6442 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.5522, allocations: 16.09 kB / 0.6442 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008711/0.5531, allocations: 1.36 MB / 0.6456 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5531, allocations: 3.938 kB / 0.6456 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.5537, allocations: 442.7 kB / 0.646 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.5538, allocations: 96.84 kB / 0.6461 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.5538, allocations: 4 kB / 0.6461 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.554, allocations: 8 kB / 0.6461 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.5541, allocations: 23.91 kB / 0.6461 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.5541, allocations: 33.11 kB / 0.6462 GB, free: 8.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.5542, allocations: 83.28 kB / 0.6462 GB, free: 8.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5542, allocations: 0 / 0.6462 GB, free: 8.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.5546, allocations: 91.98 kB / 0.6463 GB, free: 8.34 MB / 494.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.0003493/0.5549, allocations: 147.2 kB / 0.6465 GB, free: 8.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004732/0.5554, allocations: 204.2 kB / 0.6467 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5554, allocations: 4 kB / 0.6467 GB, free: 7.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.5558, allocations: 218.6 kB / 0.6469 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.5562, allocations: 51.53 kB / 0.6469 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.557, allocations: 0.5054 MB / 0.6474 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.5573, allocations: 0.7085 MB / 0.6481 GB, free: 6.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5575, allocations: 51.41 kB / 0.6482 GB, free: 6.375 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5575, allocations: 4 kB / 0.6482 GB, free: 6.371 MB / 494.1 MB Notification: Performance of Templates: time 0.005765/0.5633, allocations: 3.818 MB / 0.6519 GB, free: 2.559 MB / 494.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches