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.001741/0.001741, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.00218/0.00218, allocations: 209.9 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001606/0.001606, allocations: 43.94 kB / 378.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2302, allocations: 53.36 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.388/0.6182, allocations: 131.3 MB / 0.5496 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.6202, allocations: 2.258 MB / 0.5519 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.6203, allocations: 1.203 kB / 0.5519 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.6204, allocations: 28.78 kB / 0.5519 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007748/0.6212, allocations: 332.8 kB / 0.5522 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.6213, allocations: 63 kB / 0.5523 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.6214, allocations: 106.7 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.6215, allocations: 3.562 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.6216, allocations: 45.64 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.6216, allocations: 34.47 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.6217, allocations: 2.344 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.6222, allocations: 347 kB / 0.5528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.6222, allocations: 14.23 kB / 0.5528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.6223, allocations: 35.53 kB / 0.5528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.6227, allocations: 316.2 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6227, allocations: 1.094 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6227, allocations: 2.531 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.6227, allocations: 0 / 0.5531 GB, free: 1.223 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.0009118/0.6236, allocations: 392.1 kB / 0.5535 GB, free: 16.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6236, allocations: 9.469 kB / 0.5535 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006278/0.6299, allocations: 460.2 kB / 0.5539 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.63, allocations: 129.2 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.63, allocations: 7.375 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.6301, allocations: 8.812 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.6308, allocations: 292.6 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6308, allocations: 2.594 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.6309, allocations: 4.406 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6309, allocations: 2.875 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.6316, allocations: 276.5 kB / 0.5546 GB, free: 16.74 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.6319, allocations: 179.5 kB / 0.5548 GB, free: 16.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.6322, allocations: 148.5 kB / 0.555 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.6324, allocations: 80.39 kB / 0.555 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.6324, allocations: 6.438 kB / 0.555 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.6325, allocations: 37.59 kB / 0.5551 GB, free: 16.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.6325, allocations: 0 / 0.5551 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002031/0.6345, allocations: 0.5798 MB / 0.5556 GB, free: 16.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6345, allocations: 58.75 kB / 0.5557 GB, free: 16.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.6346, allocations: 112 kB / 0.5558 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.6347, allocations: 32.89 kB / 0.5558 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.6347, allocations: 82.7 kB / 0.5559 GB, free: 16.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.6348, allocations: 90.81 kB / 0.556 GB, free: 16.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.6348, allocations: 42.92 kB / 0.556 GB, free: 16.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.635, allocations: 323.1 kB / 0.5563 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.6353, allocations: 100.5 kB / 0.5564 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.6355, allocations: 103.9 kB / 0.5565 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.6361, allocations: 225.2 kB / 0.5568 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6361, allocations: 5.578 kB / 0.5568 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006714/0.6368, allocations: 284.8 kB / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6368, allocations: 4.969 kB / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6368, allocations: 4.375 kB / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6368, allocations: 0 / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.6372, allocations: 54.47 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6372, allocations: 8 kB / 0.5571 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.6375, allocations: 16.19 kB / 0.5571 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.6375, allocations: 13.88 kB / 0.5571 GB, free: 15.74 MB / 462.1 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.0001201/0.6377, allocations: 120.3 kB / 0.5572 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.6377, allocations: 9.141 kB / 0.5573 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.6385, allocations: 352.6 kB / 0.5576 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6385, allocations: 3.406 kB / 0.5576 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6385, allocations: 7.438 kB / 0.5576 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6385, allocations: 0.8438 kB / 0.5576 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.6399, allocations: 0.6318 MB / 0.5582 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6399, allocations: 4 kB / 0.5582 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.6403, allocations: 61.5 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.6403, allocations: 7.438 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.6404, allocations: 7.484 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6404, allocations: 3.312 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6404, allocations: 1.094 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.6411, allocations: 409.1 kB / 0.5587 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.6411, allocations: 16.91 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.6412, allocations: 9.484 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.6415, allocations: 14.92 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.6415, allocations: 22.7 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.6415, allocations: 14.94 kB / 0.5588 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.6416, allocations: 84.69 kB / 0.5588 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6416, allocations: 7.406 kB / 0.5589 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.6419, allocations: 58.38 kB / 0.5589 GB, free: 15.02 MB / 462.1 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.0002172/0.6422, allocations: 134.9 kB / 0.559 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.6428, allocations: 234.8 kB / 0.5593 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6428, allocations: 4.797 kB / 0.5593 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.6431, allocations: 135.2 kB / 0.5594 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.6436, allocations: 55.41 kB / 0.5594 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.6445, allocations: 344 kB / 0.5598 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.504e-05/0.6445, allocations: 92.94 kB / 0.5599 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.6448, allocations: 59.02 kB / 0.5599 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.645, allocations: 39.83 kB / 0.56 GB, free: 14.63 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.645, allocations: 0.9375 kB / 0.56 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Templates: time 0.007221/0.6522, allocations: 4.526 MB / 0.5644 GB, free: 14.2 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.952379792928696]