Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9776/0.9776, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 272.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.224e-05, allocations: 8.922 kB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2382/0.2382, allocations: 145.2 MB / 418.2 MB, free: 144 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2403, allocations: 2.555 MB / 420.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.2403, allocations: 4 kB / 420.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2405, allocations: 26.09 kB / 420.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.2414, allocations: 349.1 kB / 421.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2416, allocations: 55.73 kB / 421.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2417, allocations: 115.2 kB / 421.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.2418, allocations: 8 kB / 421.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.2419, allocations: 51.88 kB / 421.3 MB, free: 13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.2419, allocations: 27.91 kB / 421.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.242, allocations: 7.938 kB / 421.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.2426, allocations: 355.3 kB / 421.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.2426, allocations: 15.92 kB / 421.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2426, allocations: 27.92 kB / 421.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.2431, allocations: 359 kB / 422.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2431, allocations: 0 / 422.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2431, allocations: 0 / 422.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2431, allocations: 0 / 422.1 MB, free: 12.22 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.0006871/0.2438, allocations: 489.1 kB / 422.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2438, allocations: 8.031 kB / 422.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.2467, allocations: 456.9 kB / 423 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2469, allocations: 124.7 kB / 423.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2469, allocations: 7.938 kB / 423.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.247, allocations: 8 kB / 423.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.2474, allocations: 310 kB / 423.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2474, allocations: 0 / 423.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.2474, allocations: 0 / 423.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.2474, allocations: 4 kB / 423.5 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.2478, allocations: 240.5 kB / 423.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.248, allocations: 161.7 kB / 423.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.2482, allocations: 155.2 kB / 424 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.2483, allocations: 71.59 kB / 424.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2483, allocations: 4 kB / 424.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2484, allocations: 37.39 kB / 424.1 MB, free: 10.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.2484, allocations: 0 / 424.1 MB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001025/0.2494, allocations: 484.5 kB / 424.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2494, allocations: 63.41 kB / 424.6 MB, free: 9.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.2495, allocations: 170.8 kB / 424.8 MB, free: 9.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2495, allocations: 25.7 kB / 424.8 MB, free: 9.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.2496, allocations: 135.4 kB / 425 MB, free: 9.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.2496, allocations: 83.27 kB / 425 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.2497, allocations: 59.2 kB / 425.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2498, allocations: 0.4922 MB / 425.6 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2499, allocations: 71.97 kB / 425.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.25, allocations: 79.2 kB / 425.7 MB, free: 8.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.2503, allocations: 163.6 kB / 425.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2503, allocations: 0.8125 kB / 425.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003156/0.2506, allocations: 235.6 kB / 426.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2506, allocations: 8 kB / 426.1 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2506, allocations: 0 / 426.1 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2506, allocations: 0 / 426.1 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.2508, allocations: 47.91 kB / 426.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2509, allocations: 8 kB / 426.2 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.251, allocations: 15.23 kB / 426.2 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.251, allocations: 8 kB / 426.2 MB, free: 7.883 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 9.695e-05/0.2511, allocations: 168.5 kB / 426.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.2511, allocations: 19.95 kB / 426.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.2516, allocations: 292.7 kB / 426.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2516, allocations: 4 kB / 426.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.2516, allocations: 0 / 426.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2516, allocations: 3.984 kB / 426.7 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.2523, allocations: 0.6402 MB / 427.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2524, allocations: 7.984 kB / 427.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.2525, allocations: 47.97 kB / 427.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2525, allocations: 0 / 427.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2526, allocations: 15.98 kB / 427.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2526, allocations: 7.875 kB / 427.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2526, allocations: 4 kB / 427.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.2529, allocations: 420.3 kB / 427.8 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.253, allocations: 19.84 kB / 427.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.253, allocations: 11.92 kB / 427.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2531, allocations: 12 kB / 427.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.2531, allocations: 19.97 kB / 427.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.2532, allocations: 11.98 kB / 427.9 MB, free: 6.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.2532, allocations: 131.2 kB / 428 MB, free: 5.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2532, allocations: 0 / 428 MB, free: 5.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.2535, allocations: 59.92 kB / 428.1 MB, free: 5.891 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.0002226/0.2537, allocations: 135.1 kB / 428.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.254, allocations: 200.1 kB / 428.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.254, allocations: 0 / 428.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2541, allocations: 127.3 kB / 428.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2545, allocations: 70.81 kB / 428.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007932/0.2553, allocations: 342.8 kB / 428.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.2553, allocations: 72 kB / 429 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.2555, allocations: 61.42 kB / 429.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2556, allocations: 44.47 kB / 429.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2556, allocations: 0 / 429.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of Templates: time 0.005883/0.2615, allocations: 4.472 MB / 433.6 MB, free: 392 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1629645680077374]