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.001379/0.001379, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.001494/0.001494, allocations: 206 kB / 23.72 MB, free: 4.414 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001581/0.001581, allocations: 47.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2335, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3831/0.6166, allocations: 131.3 MB / 0.5496 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.6187, allocations: 2.265 MB / 0.5519 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.6188, allocations: 0 / 0.5519 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.6189, allocations: 23.98 kB / 0.5519 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008722/0.6198, allocations: 335.7 kB / 0.5522 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.62, allocations: 62.73 kB / 0.5523 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.6201, allocations: 109 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.6201, allocations: 6.984 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.6202, allocations: 43.2 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.6203, allocations: 40.23 kB / 0.5524 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.6203, allocations: 3.25 kB / 0.5525 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.6209, allocations: 357.8 kB / 0.5528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.6209, allocations: 14.89 kB / 0.5528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.6209, allocations: 35.73 kB / 0.5528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.6213, allocations: 312.8 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6213, allocations: 0 / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6213, allocations: 1.5 kB / 0.5531 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.6213, allocations: 1.828 kB / 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.0009338/0.6223, allocations: 391 kB / 0.5535 GB, free: 16.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.6223, allocations: 8.188 kB / 0.5535 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006103/0.6284, allocations: 465.2 kB / 0.554 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.6285, allocations: 123.9 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6285, allocations: 6.406 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/0.6286, allocations: 4.812 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.6293, allocations: 306.6 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6293, allocations: 0 / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.6294, allocations: 1.094 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.6294, allocations: 3.031 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.6301, allocations: 272.6 kB / 0.5547 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.6304, allocations: 179.9 kB / 0.5548 GB, free: 16.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.6308, allocations: 147.3 kB / 0.555 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.6309, allocations: 83.25 kB / 0.555 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.631, allocations: 7.5 kB / 0.5551 GB, free: 16.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.631, allocations: 36.22 kB / 0.5551 GB, free: 16.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.631, allocations: 1.031 kB / 0.5551 GB, free: 16.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.001951/0.633, allocations: 0.578 MB / 0.5557 GB, free: 16.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.633, allocations: 58.52 kB / 0.5557 GB, free: 16.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.6331, allocations: 107.9 kB / 0.5558 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.6331, allocations: 33.81 kB / 0.5558 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.6332, allocations: 83.7 kB / 0.5559 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.6332, allocations: 83.73 kB / 0.556 GB, free: 16.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.6333, allocations: 45.39 kB / 0.556 GB, free: 16.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6335, allocations: 321.2 kB / 0.5564 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.6337, allocations: 102.6 kB / 0.5564 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.634, allocations: 104.3 kB / 0.5565 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.6345, allocations: 231.6 kB / 0.5568 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6345, allocations: 1 kB / 0.5568 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006608/0.6352, allocations: 282.8 kB / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6352, allocations: 6.719 kB / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6352, allocations: 3.062 kB / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6352, allocations: 0 / 0.557 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.6357, allocations: 57.69 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.6357, allocations: 6.969 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.6359, allocations: 12.03 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.636, allocations: 11.78 kB / 0.5571 GB, free: 15.75 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.0001257/0.6361, allocations: 122.3 kB / 0.5572 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.6361, allocations: 13.39 kB / 0.5573 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.637, allocations: 356.2 kB / 0.5576 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.637, allocations: 2.531 kB / 0.5576 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.637, allocations: 5.703 kB / 0.5576 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.637, allocations: 0.8125 kB / 0.5576 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.6384, allocations: 0.6274 MB / 0.5582 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6384, allocations: 6.656 kB / 0.5582 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.6388, allocations: 59.11 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6388, allocations: 5.906 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.6388, allocations: 11.06 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6388, allocations: 3.5 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6388, allocations: 5.312 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.6395, allocations: 406.6 kB / 0.5587 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.6395, allocations: 16.75 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.6396, allocations: 9.672 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.6399, allocations: 15.98 kB / 0.5587 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.6399, allocations: 20.81 kB / 0.5588 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.64, allocations: 15.44 kB / 0.5588 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.64, allocations: 93.88 kB / 0.5589 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.64, allocations: 0 / 0.5589 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003515/0.6404, allocations: 58.97 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.000214/0.6406, allocations: 126.6 kB / 0.559 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006627/0.6412, allocations: 242.6 kB / 0.5593 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6413, allocations: 0.9375 kB / 0.5593 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.6416, allocations: 130.9 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.000534/0.6421, allocations: 58.83 kB / 0.5595 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.6429, allocations: 349.7 kB / 0.5598 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.643, allocations: 94.77 kB / 0.5599 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.6433, allocations: 64 kB / 0.5599 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.6434, allocations: 35.83 kB / 0.56 GB, free: 14.63 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6434, allocations: 0 / 0.56 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Templates: time 0.007409/0.6508, allocations: 4.59 MB / 0.5645 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.9820620329119265]