Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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) 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(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.2 kB / 17.75 MB, free: 5.223 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.001023/0.001023, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009556/0.0009557, allocations: 43.94 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.204, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1387/0.3427, allocations: 149.2 MB / 0.5377 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3452, allocations: 2.522 MB / 0.5402 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.3452, allocations: 0 / 0.5402 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3454, allocations: 23.83 kB / 0.5402 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.3462, allocations: 322.3 kB / 0.5405 GB, free: 192 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.3464, allocations: 59.73 kB / 0.5406 GB, free: 132 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.3465, allocations: 79.53 kB / 0.5406 GB, free: 52 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.3465, allocations: 7.984 kB / 0.5406 GB, free: 44 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.3466, allocations: 39.78 kB / 0.5407 GB, free: 4 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1909/0.5376, allocations: 19.38 kB / 0.5407 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.5376, allocations: 2.156 kB / 0.5407 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.5386, allocations: 363.8 kB / 0.5411 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.5386, allocations: 11.7 kB / 0.5411 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.5387, allocations: 27.44 kB / 0.5411 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.5392, allocations: 289.2 kB / 0.5414 GB, free: 2.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5392, allocations: 3.906 kB / 0.5414 GB, free: 2.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5392, allocations: 0.5312 kB / 0.5414 GB, free: 2.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.5392, allocations: 1 kB / 0.5414 GB, free: 2.023 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008655/0.5401, allocations: 436.6 kB / 0.5418 GB, free: 17.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5402, allocations: 9 kB / 0.5418 GB, free: 17.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006882/0.547, allocations: 458.5 kB / 0.5422 GB, free: 17.65 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.5471, allocations: 168 kB / 0.5424 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5472, allocations: 12.94 kB / 0.5424 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.5472, allocations: 4.938 kB / 0.5424 GB, free: 17.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.548, allocations: 301 kB / 0.5427 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5481, allocations: 1.219 kB / 0.5427 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.5481, allocations: 4.219 kB / 0.5427 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5481, allocations: 2.844 kB / 0.5427 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.549, allocations: 276.2 kB / 0.543 GB, free: 17.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.55, allocations: 418.8 kB / 0.5434 GB, free: 17.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5511, allocations: 210.7 kB / 0.5436 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.5513, allocations: 73.56 kB / 0.5436 GB, free: 17.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.5513, allocations: 5.422 kB / 0.5436 GB, free: 17.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5513, allocations: 40.06 kB / 0.5437 GB, free: 17.06 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.5513, allocations: 0.7812 kB / 0.5437 GB, free: 17.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.00169/0.553, allocations: 422 kB / 0.5441 GB, free: 17.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.5531, allocations: 52.31 kB / 0.5441 GB, free: 16.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.5531, allocations: 101.2 kB / 0.5442 GB, free: 16.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5532, allocations: 32.7 kB / 0.5443 GB, free: 16.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.5532, allocations: 94.56 kB / 0.5444 GB, free: 16.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.5533, allocations: 58.5 kB / 0.5444 GB, free: 16.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.5533, allocations: 46.45 kB / 0.5445 GB, free: 16.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.5534, allocations: 320.5 kB / 0.5448 GB, free: 16.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.5537, allocations: 75.75 kB / 0.5448 GB, free: 16.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.554, allocations: 117.9 kB / 0.5449 GB, free: 16.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.5545, allocations: 207.4 kB / 0.5451 GB, free: 16.28 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5545, allocations: 3.906 kB / 0.5451 GB, free: 16.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006469/0.5552, allocations: 242.5 kB / 0.5454 GB, free: 16.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5552, allocations: 6.734 kB / 0.5454 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5552, allocations: 3 kB / 0.5454 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5552, allocations: 2.375 kB / 0.5454 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.5556, allocations: 50.69 kB / 0.5454 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5556, allocations: 5.453 kB / 0.5454 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.5559, allocations: 17.12 kB / 0.5455 GB, free: 16.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.556, allocations: 13.42 kB / 0.5455 GB, free: 16.24 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.5561, allocations: 121.4 kB / 0.5456 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.5561, allocations: 11.72 kB / 0.5456 GB, free: 16.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007865/0.5569, allocations: 276.3 kB / 0.5459 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5569, allocations: 4.938 kB / 0.5459 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5569, allocations: 2.688 kB / 0.5459 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.557, allocations: 88.8 kB / 0.546 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.557, allocations: 6.219 kB / 0.546 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.5573, allocations: 9.062 kB / 0.546 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.5574, allocations: 21.06 kB / 0.546 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00089/0.5583, allocations: 321.5 kB / 0.5463 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006509/0.5589, allocations: 407.6 kB / 0.5467 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002592/0.5592, allocations: 94.5 kB / 0.5468 GB, free: 15.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.5592, allocations: 83.03 kB / 0.5469 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Backend: time 3.11e-07/0.5593, allocations: 0.9062 kB / 0.5469 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.5603, allocations: 315 kB / 0.5472 GB, free: 15.5 MB / 478.1 MB Notification: Performance of SimCode: time 0.0004658/0.5607, allocations: 0.6405 MB / 0.5478 GB, free: 14.9 MB / 478.1 MB Notification: Performance of Templates: time 0.007029/0.5678, allocations: 5.117 MB / 0.5528 GB, free: 14.77 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches