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/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) 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(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/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 175.6 kB / 17.4 MB, free: 4.301 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.479/1.479, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0008824/0.0008822, allocations: 96.77 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 15.92 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8153/1.105, allocations: 443.4 MB / 0.8263 GB, free: 25.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/1.105, allocations: 64.97 kB / 0.8263 GB, free: 25.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05087/1.156, allocations: 25.49 MB / 0.8512 GB, free: 3.609 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.156, allocations: 0 / 0.8512 GB, free: 3.609 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/1.156, allocations: 0 / 0.8512 GB, free: 3.609 MB / 458.7 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.0006406/1.157, allocations: 446 kB / 0.8517 GB, free: 3.129 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.157, allocations: 8.031 kB / 0.8517 GB, free: 3.121 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/1.162, allocations: 460.2 kB / 0.8521 GB, free: 2.707 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/1.162, allocations: 172.2 kB / 0.8523 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.162, allocations: 12.31 kB / 0.8523 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/1.162, allocations: 4.375 kB / 0.8523 GB, free: 2.488 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/1.163, allocations: 298.1 kB / 0.8526 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.163, allocations: 4.188 kB / 0.8526 GB, free: 2.254 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/1.163, allocations: 3.938 kB / 0.8526 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.163, allocations: 0 / 0.8526 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/1.164, allocations: 277.5 kB / 0.8528 GB, free: 2.059 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/1.164, allocations: 422.5 kB / 0.8532 GB, free: 1.648 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/1.165, allocations: 219.8 kB / 0.8535 GB, free: 1.469 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/1.166, allocations: 68.62 kB / 0.8535 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/1.166, allocations: 4 kB / 0.8535 GB, free: 1.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/1.166, allocations: 42.48 kB / 0.8536 GB, free: 1.363 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/1.166, allocations: 0 / 0.8536 GB, free: 1.363 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001511/1.167, allocations: 424 kB / 0.854 GB, free: 1.043 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/1.167, allocations: 55.41 kB / 0.854 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/1.167, allocations: 97.11 kB / 0.8541 GB, free: 0.875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.167, allocations: 28.33 kB / 0.8541 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/1.167, allocations: 101.7 kB / 0.8542 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/1.167, allocations: 58.28 kB / 0.8543 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/1.167, allocations: 6.125 kB / 0.8543 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/1.167, allocations: 327.2 kB / 0.8546 GB, free: 372 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/1.168, allocations: 77.12 kB / 0.8547 GB, free: 316 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/1.168, allocations: 109.6 kB / 0.8548 GB, free: 216 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/1.168, allocations: 200.5 kB / 0.855 GB, free: 60 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/1.168, allocations: 4 kB / 0.855 GB, free: 56 kB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.182/1.35, allocations: 239.4 kB / 0.8552 GB, free: 164.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.35, allocations: 5.375 kB / 0.8552 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.35, allocations: 1.625 kB / 0.8552 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.35, allocations: 5.281 kB / 0.8552 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/1.351, allocations: 54.66 kB / 0.8553 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.351, allocations: 2.406 kB / 0.8553 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/1.351, allocations: 14.55 kB / 0.8553 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/1.351, allocations: 11.84 kB / 0.8553 GB, free: 164.5 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/1.351, allocations: 125.2 kB / 0.8554 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/1.351, allocations: 8.406 kB / 0.8554 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/1.352, allocations: 281.2 kB / 0.8557 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.352, allocations: 2.125 kB / 0.8557 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.352, allocations: 2.531 kB / 0.8557 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.352, allocations: 1.516 kB / 0.8557 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.353, allocations: 0.568 MB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.353, allocations: 3.812 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/1.354, allocations: 51.92 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.354, allocations: 2.438 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/1.354, allocations: 9.469 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.354, allocations: 1.875 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.354, allocations: 1.5 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/1.354, allocations: 329.2 kB / 0.8566 GB, free: 163.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/1.354, allocations: 84.02 kB / 0.8567 GB, free: 163.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/1.354, allocations: 12.06 kB / 0.8567 GB, free: 163.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.355, allocations: 14.25 kB / 0.8567 GB, free: 163.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/1.355, allocations: 16.97 kB / 0.8568 GB, free: 163.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/1.355, allocations: 7.594 kB / 0.8568 GB, free: 163.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.78e-05/1.355, allocations: 86.67 kB / 0.8568 GB, free: 163.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.355, allocations: 3.75 kB / 0.8569 GB, free: 163.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004504/1.355, allocations: 72.94 kB / 0.8569 GB, free: 163.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006908/1.356, allocations: 0.5168 MB / 0.8574 GB, free: 163.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005564/1.357, allocations: 199 kB / 0.8576 GB, free: 163.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.357, allocations: 1.781 kB / 0.8576 GB, free: 163.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/1.357, allocations: 98.75 kB / 0.8577 GB, free: 163.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/1.357, allocations: 41.52 kB / 0.8578 GB, free: 163.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/1.358, allocations: 310.1 kB / 0.858 GB, free: 163.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/1.358, allocations: 0.6992 MB / 0.8587 GB, free: 162.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004048/1.358, allocations: 61.55 kB / 0.8588 GB, free: 162.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/1.359, allocations: 27.7 kB / 0.8588 GB, free: 162.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/1.359, allocations: 2.078 kB / 0.8588 GB, free: 162.7 MB / 458.7 MB Notification: Performance of Templates: time 0.01233/1.371, allocations: 9.124 MB / 0.8677 GB, free: 162.2 MB / 458.7 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","../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches