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.00208/0.00208, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.00244/0.00244, allocations: 149.3 kB / 24.25 MB, free: 192 kB / 18.57 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.49/1.49, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 2.134e-06/2.134e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.256e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3139/0.314, allocations: 128.4 MB / 395.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.3171, allocations: 2.245 MB / 397.9 MB, free: 5.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.3171, allocations: 0 / 397.9 MB, free: 5.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3173, allocations: 19.91 kB / 397.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009753/0.3183, allocations: 339.7 kB / 398.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3184, allocations: 55.69 kB / 398.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.3188, allocations: 79.53 kB / 398.4 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.3188, allocations: 8 kB / 398.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.319, allocations: 51.77 kB / 398.4 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.319, allocations: 19.98 kB / 398.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.319, allocations: 4 kB / 398.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007392/0.3198, allocations: 347.3 kB / 398.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3198, allocations: 7.922 kB / 398.8 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.3198, allocations: 27.92 kB / 398.8 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.3204, allocations: 331.2 kB / 399.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3204, allocations: 4 kB / 399.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3204, allocations: 0 / 399.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.3204, allocations: 0 / 399.2 MB, free: 4.566 MB / 346.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.0009082/0.3213, allocations: 357.8 kB / 399.5 MB, free: 4.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3214, allocations: 8.922 kB / 399.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/0.3276, allocations: 0.4927 MB / 400 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3277, allocations: 113.7 kB / 400.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3277, allocations: 0.5625 kB / 400.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.3278, allocations: 19.89 kB / 400.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.3286, allocations: 293.3 kB / 400.4 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3286, allocations: 0 / 400.4 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.3287, allocations: 4 kB / 400.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3287, allocations: 4 kB / 400.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008744/0.3296, allocations: 271.8 kB / 400.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3307, allocations: 360.1 kB / 401.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3318, allocations: 198.3 kB / 401.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.332, allocations: 68.81 kB / 401.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.332, allocations: 0 / 401.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3321, allocations: 38.56 kB / 401.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.517e-06/0.3321, allocations: 4 kB / 401.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001943/0.334, allocations: 425.3 kB / 401.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3341, allocations: 59.34 kB / 401.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3342, allocations: 109.7 kB / 401.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.3342, allocations: 29.7 kB / 402 MB, free: 1.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.3343, allocations: 96.03 kB / 402.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/0.3344, allocations: 59.48 kB / 402.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3345, allocations: 41.69 kB / 402.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3347, allocations: 314.8 kB / 402.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.335, allocations: 83.94 kB / 402.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3353, allocations: 119.2 kB / 402.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.3359, allocations: 204.2 kB / 402.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3359, allocations: 0 / 402.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007774/0.3367, allocations: 252 kB / 403.1 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3367, allocations: 11.94 kB / 403.1 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3367, allocations: 0 / 403.1 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3368, allocations: 4.188 kB / 403.1 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.3372, allocations: 51.89 kB / 403.2 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3372, allocations: 0 / 403.2 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3375, allocations: 15.98 kB / 403.2 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.3375, allocations: 15.97 kB / 403.2 MB, free: 332 kB / 346.7 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.0001348/0.3376, allocations: 129.8 kB / 403.3 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.3377, allocations: 19.83 kB / 403.4 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.3386, allocations: 273.9 kB / 403.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3386, allocations: 4 kB / 403.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3386, allocations: 0 / 403.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3387, allocations: 1 kB / 403.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.34, allocations: 0.4959 MB / 404.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.34, allocations: 0 / 404.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.3404, allocations: 47.89 kB / 404.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.3404, allocations: 4 kB / 404.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.3405, allocations: 7.984 kB / 404.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3405, allocations: 11.38 kB / 404.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3405, allocations: 0 / 404.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/0.3412, allocations: 333.4 kB / 404.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.3413, allocations: 11.95 kB / 404.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.3413, allocations: 0 / 404.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.3416, allocations: 19.98 kB / 404.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3416, allocations: 19.91 kB / 404.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.3417, allocations: 11.98 kB / 404.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.3417, allocations: 79.28 kB / 404.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3417, allocations: 0 / 404.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.3421, allocations: 44 kB / 404.7 MB, free: 14.75 MB / 362.7 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.0002564/0.3423, allocations: 127.2 kB / 404.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006817/0.343, allocations: 194 kB / 405 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.343, allocations: 0 / 405 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.3433, allocations: 100.1 kB / 405.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.3438, allocations: 45.59 kB / 405.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3449, allocations: 270.4 kB / 405.4 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.001e-05/0.345, allocations: 87.75 kB / 405.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.3453, allocations: 56.61 kB / 405.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3455, allocations: 28.48 kB / 405.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3455, allocations: 4 kB / 405.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Templates: time 0.007553/0.353, allocations: 3.282 MB / 408.9 MB, free: 10.58 MB / 362.7 MB " [Timeout remaining time 660] 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.603715081932023]