Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002348/0.002348, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002727/0.002727, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.137e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3187/0.3187, allocations: 144.9 MB / 417.1 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.3225, allocations: 2.543 MB / 419.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.3226, allocations: 4 kB / 419.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.3227, allocations: 19.84 kB / 419.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.3237, allocations: 351 kB / 420 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.3239, allocations: 67.7 kB / 420 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3241, allocations: 111.3 kB / 420.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.3241, allocations: 4 kB / 420.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3243, allocations: 55.83 kB / 420.2 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.3243, allocations: 27.91 kB / 420.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3244, allocations: 4 kB / 420.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007916/0.3252, allocations: 351.3 kB / 420.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.3252, allocations: 19.91 kB / 420.6 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.3252, allocations: 27.94 kB / 420.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.326, allocations: 355 kB / 421 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.326, allocations: 0 / 421 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.326, allocations: 4 kB / 421 MB, free: 12.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.326, allocations: 0 / 421 MB, free: 12.7 MB / 378.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.0009938/0.327, allocations: 488 kB / 421.4 MB, free: 12.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3271, allocations: 11.98 kB / 421.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006657/0.3337, allocations: 464.8 kB / 421.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3339, allocations: 116.7 kB / 422 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3339, allocations: 7.938 kB / 422 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.334, allocations: 8 kB / 422 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.3348, allocations: 365.9 kB / 422.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3348, allocations: 4 kB / 422.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.3349, allocations: 4 kB / 422.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3349, allocations: 4 kB / 422.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.3357, allocations: 335.8 kB / 422.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.336, allocations: 172.7 kB / 422.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.3365, allocations: 179.2 kB / 423.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.3367, allocations: 91.59 kB / 423.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.3367, allocations: 3.984 kB / 423.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3368, allocations: 46.7 kB / 423.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.3368, allocations: 0 / 423.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.002164/0.3389, allocations: 0.6033 MB / 423.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.339, allocations: 56.22 kB / 423.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3391, allocations: 169.9 kB / 424 MB, free: 9.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3392, allocations: 29.7 kB / 424.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.3392, allocations: 131.4 kB / 424.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3393, allocations: 91.22 kB / 424.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3395, allocations: 59.34 kB / 424.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002771/0.3398, allocations: 0.4961 MB / 424.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.34, allocations: 104 kB / 425 MB, free: 8.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3403, allocations: 106 kB / 425.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/0.3409, allocations: 232.5 kB / 425.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3409, allocations: 0 / 425.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007406/0.3416, allocations: 305.8 kB / 425.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3417, allocations: 4 kB / 425.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3417, allocations: 3.984 kB / 425.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3417, allocations: 4 kB / 425.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.3421, allocations: 43.97 kB / 425.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3421, allocations: 0 / 425.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.3424, allocations: 16.42 kB / 425.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3424, allocations: 8 kB / 425.7 MB, free: 7.816 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001695/0.3426, allocations: 172.5 kB / 425.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.3426, allocations: 19.95 kB / 425.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.3436, allocations: 371.4 kB / 426.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3436, allocations: 0 / 426.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3436, allocations: 8 kB / 426.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3436, allocations: 0 / 426.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3454, allocations: 0.6957 MB / 426.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3454, allocations: 0 / 426.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.3458, allocations: 63.45 kB / 427 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3458, allocations: 4 kB / 427 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.3458, allocations: 12.16 kB / 427 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.537e-06/0.3458, allocations: 7.922 kB / 427 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.3458, allocations: 7.938 kB / 427 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.3467, allocations: 482 kB / 427.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.3467, allocations: 11.91 kB / 427.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.3468, allocations: 11.94 kB / 427.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.3471, allocations: 8 kB / 427.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.3471, allocations: 31.89 kB / 427.5 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.3472, allocations: 8 kB / 427.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.453e-05/0.3473, allocations: 139.8 kB / 427.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3473, allocations: 0 / 427.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000372/0.3476, allocations: 55.94 kB / 427.7 MB, free: 5.617 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002707/0.3479, allocations: 128.3 kB / 427.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007226/0.3486, allocations: 275.9 kB / 428.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3486, allocations: 0 / 428.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.349, allocations: 154.9 kB / 428.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.3495, allocations: 68.84 kB / 428.4 MB, free: 5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.3504, allocations: 351.2 kB / 428.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.3505, allocations: 94.09 kB / 428.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.3508, allocations: 57.44 kB / 428.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.351, allocations: 48.45 kB / 428.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.351, allocations: 0 / 428.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of Templates: time 0.1112/0.4622, allocations: 4.471 MB / 433.4 MB, free: 140.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.966587729984894]