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.001638/0.001638, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001673/0.001673, allocations: 195.6 kB / 23.71 MB, free: 4.406 MB / 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.443/1.443, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.001563/0.001563, allocations: 39.94 kB / 370.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 52.18 MB / 423 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3738/0.6031, allocations: 128.3 MB / 0.5384 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.6054, allocations: 2.241 MB / 0.5406 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.6054, allocations: 1.875 kB / 0.5406 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.6056, allocations: 21.3 kB / 0.5406 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008247/0.6064, allocations: 325.1 kB / 0.541 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.6066, allocations: 67.77 kB / 0.541 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.6067, allocations: 73.06 kB / 0.5411 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.6067, allocations: 3.734 kB / 0.5411 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.6068, allocations: 39.88 kB / 0.5411 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.6069, allocations: 26.09 kB / 0.5412 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.6069, allocations: 1.406 kB / 0.5412 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.6075, allocations: 339.3 kB / 0.5415 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.6075, allocations: 10.55 kB / 0.5415 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.6075, allocations: 23.77 kB / 0.5415 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.608, allocations: 298.2 kB / 0.5418 GB, free: 1.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.608, allocations: 1.375 kB / 0.5418 GB, free: 1.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.608, allocations: 2.156 kB / 0.5418 GB, free: 1.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.608, allocations: 0 / 0.5418 GB, free: 1.426 MB / 446.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.0008688/0.6089, allocations: 356.9 kB / 0.5421 GB, free: 17.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.6089, allocations: 8.25 kB / 0.5422 GB, free: 17.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006304/0.6152, allocations: 458.2 kB / 0.5426 GB, free: 17.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6153, allocations: 117.9 kB / 0.5427 GB, free: 17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.6153, allocations: 8.094 kB / 0.5427 GB, free: 17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.6154, allocations: 8.375 kB / 0.5427 GB, free: 17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.6161, allocations: 294 kB / 0.543 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6161, allocations: 4.906 kB / 0.543 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.6162, allocations: 3.812 kB / 0.543 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6162, allocations: 4.938 kB / 0.543 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.6169, allocations: 272.3 kB / 0.5433 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.6179, allocations: 364.6 kB / 0.5436 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/0.6188, allocations: 198.2 kB / 0.5438 GB, free: 16.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.619, allocations: 68.16 kB / 0.5439 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.619, allocations: 1.125 kB / 0.5439 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6191, allocations: 33.31 kB / 0.5439 GB, free: 16.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.6191, allocations: 0 / 0.5439 GB, free: 16.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001613/0.6207, allocations: 423.6 kB / 0.5443 GB, free: 16.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6207, allocations: 57.81 kB / 0.5444 GB, free: 16.56 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.6208, allocations: 103.3 kB / 0.5445 GB, free: 16.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.6208, allocations: 30.3 kB / 0.5445 GB, free: 16.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.6209, allocations: 100.6 kB / 0.5446 GB, free: 16.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.6209, allocations: 61.58 kB / 0.5446 GB, free: 16.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.621, allocations: 44.39 kB / 0.5447 GB, free: 16.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6211, allocations: 321.2 kB / 0.545 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.6214, allocations: 81.72 kB / 0.5451 GB, free: 15.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.6216, allocations: 111.8 kB / 0.5452 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.6221, allocations: 204.5 kB / 0.5454 GB, free: 15.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.6221, allocations: 0.875 kB / 0.5454 GB, free: 15.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006058/0.6227, allocations: 250.4 kB / 0.5456 GB, free: 15.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6227, allocations: 8.781 kB / 0.5456 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6227, allocations: 0 / 0.5456 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6228, allocations: 3.938 kB / 0.5456 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.6231, allocations: 48.86 kB / 0.5457 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6231, allocations: 5.594 kB / 0.5457 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.6234, allocations: 18.2 kB / 0.5457 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.6234, allocations: 16.41 kB / 0.5457 GB, free: 15.84 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.0001127/0.6235, allocations: 119.8 kB / 0.5458 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.6236, allocations: 6.312 kB / 0.5458 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.6243, allocations: 279.7 kB / 0.5461 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6243, allocations: 3.469 kB / 0.5461 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6243, allocations: 0 / 0.5461 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6243, allocations: 1 kB / 0.5461 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.6255, allocations: 0.5109 MB / 0.5466 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6255, allocations: 0.7188 kB / 0.5466 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.6258, allocations: 46.75 kB / 0.5466 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6258, allocations: 2.422 kB / 0.5466 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.6258, allocations: 8.922 kB / 0.5467 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6258, allocations: 3.5 kB / 0.5467 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6258, allocations: 0.875 kB / 0.5467 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.6264, allocations: 333 kB / 0.547 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.6265, allocations: 11.25 kB / 0.547 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.6265, allocations: 4.891 kB / 0.547 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.6268, allocations: 20.73 kB / 0.547 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.6268, allocations: 14.97 kB / 0.547 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.6268, allocations: 14.8 kB / 0.547 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.6269, allocations: 79.16 kB / 0.5471 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6269, allocations: 0 / 0.5471 GB, free: 15.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.6272, allocations: 39.84 kB / 0.5472 GB, free: 15.18 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.0002013/0.6274, allocations: 127.4 kB / 0.5473 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005737/0.628, allocations: 195.8 kB / 0.5475 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.628, allocations: 0 / 0.5475 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.6282, allocations: 102 kB / 0.5476 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.6287, allocations: 33.45 kB / 0.5476 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.6294, allocations: 269 kB / 0.5479 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.884e-05/0.6295, allocations: 83.7 kB / 0.5479 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.6298, allocations: 61.67 kB / 0.548 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.6299, allocations: 30.83 kB / 0.548 GB, free: 14.84 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6299, allocations: 0 / 0.548 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Templates: time 0.005857/0.6358, allocations: 3.301 MB / 0.5512 GB, free: 14.66 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.8027761690318584]