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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.91 kB / 368.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 52.14 MB / 420.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4265/0.6715, allocations: 149.7 MB / 0.5572 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.6735, allocations: 2.54 MB / 0.5596 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.6735, allocations: 0 / 0.5596 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.6737, allocations: 22.05 kB / 0.5597 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007925/0.6745, allocations: 322.8 kB / 0.56 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.6746, allocations: 62.55 kB / 0.56 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.6747, allocations: 79.98 kB / 0.5601 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.6748, allocations: 0 / 0.5601 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.6749, allocations: 32.44 kB / 0.5601 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.6749, allocations: 34.14 kB / 0.5602 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.6749, allocations: 0 / 0.5602 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.6755, allocations: 359.2 kB / 0.5605 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.6755, allocations: 15.38 kB / 0.5605 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.6756, allocations: 27.88 kB / 0.5606 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.676, allocations: 305.3 kB / 0.5609 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.676, allocations: 0 / 0.5609 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.676, allocations: 1.203 kB / 0.5609 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.676, allocations: 0 / 0.5609 GB, free: 15.64 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.0008544/0.6769, allocations: 432 kB / 0.5613 GB, free: 15.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6769, allocations: 15.22 kB / 0.5613 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005803/0.6827, allocations: 459.7 kB / 0.5617 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.6828, allocations: 170.2 kB / 0.5619 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6828, allocations: 2.906 kB / 0.5619 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.6829, allocations: 10.53 kB / 0.5619 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007128/0.6836, allocations: 298 kB / 0.5622 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6836, allocations: 4 kB / 0.5622 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.6837, allocations: 3.438 kB / 0.5622 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6837, allocations: 2.094 kB / 0.5622 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.6844, allocations: 274.5 kB / 0.5624 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.6855, allocations: 437 kB / 0.5629 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6865, allocations: 206.6 kB / 0.5631 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.6867, allocations: 64.11 kB / 0.5631 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.6867, allocations: 5.062 kB / 0.5631 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6868, allocations: 39.52 kB / 0.5632 GB, free: 14.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.6868, allocations: 3.938 kB / 0.5632 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001672/0.6885, allocations: 419.5 kB / 0.5636 GB, free: 14.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6885, allocations: 53.34 kB / 0.5636 GB, free: 14.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.6886, allocations: 103.3 kB / 0.5637 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.6886, allocations: 28.89 kB / 0.5637 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.6887, allocations: 88.05 kB / 0.5638 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.6887, allocations: 69.08 kB / 0.5639 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.6888, allocations: 46.39 kB / 0.5639 GB, free: 14.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.689, allocations: 320.4 kB / 0.5642 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.6892, allocations: 76.22 kB / 0.5643 GB, free: 13.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.6895, allocations: 120.5 kB / 0.5644 GB, free: 13.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.69, allocations: 205.2 kB / 0.5646 GB, free: 13.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.69, allocations: 0 / 0.5646 GB, free: 13.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005924/0.6906, allocations: 244.6 kB / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6906, allocations: 12.53 kB / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6907, allocations: 0 / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6907, allocations: 2.75 kB / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.691, allocations: 48.42 kB / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.691, allocations: 2.812 kB / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.6913, allocations: 16.8 kB / 0.5649 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.6913, allocations: 9.531 kB / 0.565 GB, free: 13.78 MB / 462.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.000141/0.6915, allocations: 134.8 kB / 0.5651 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.6915, allocations: 7.328 kB / 0.5651 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.6923, allocations: 274.4 kB / 0.5653 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6923, allocations: 2.062 kB / 0.5654 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6923, allocations: 0 / 0.5654 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6923, allocations: 3.984 kB / 0.5654 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.6935, allocations: 0.5793 MB / 0.5659 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6935, allocations: 2.812 kB / 0.5659 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.6938, allocations: 45.92 kB / 0.566 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6938, allocations: 4.062 kB / 0.566 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.6938, allocations: 12.08 kB / 0.566 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6938, allocations: 0 / 0.566 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6938, allocations: 5.141 kB / 0.566 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.6945, allocations: 333.5 kB / 0.5663 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.6945, allocations: 83.66 kB / 0.5664 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.6945, allocations: 4.578 kB / 0.5664 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.6948, allocations: 14.27 kB / 0.5664 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.6948, allocations: 22.36 kB / 0.5664 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.6949, allocations: 11.41 kB / 0.5664 GB, free: 13.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.6949, allocations: 84.03 kB / 0.5665 GB, free: 12.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6949, allocations: 0 / 0.5665 GB, free: 12.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.6953, allocations: 46.28 kB / 0.5666 GB, free: 12.93 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.6955, allocations: 130.2 kB / 0.5667 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.696, allocations: 188.7 kB / 0.5669 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.696, allocations: 2.688 kB / 0.5669 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.6963, allocations: 99.11 kB / 0.567 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.6967, allocations: 32.38 kB / 0.567 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.6976, allocations: 284.6 kB / 0.5673 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.698, allocations: 0.6933 MB / 0.5679 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.6983, allocations: 53.75 kB / 0.568 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6984, allocations: 31.28 kB / 0.568 GB, free: 11.93 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6984, allocations: 0 / 0.568 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Templates: time 0.006634/0.705, allocations: 3.158 MB / 0.5711 GB, free: 11.74 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.969788391143084]