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.0008364/0.0008364, allocations: 84 kB / 21.43 MB, free: 3.133 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.003347/0.003347, allocations: 149.4 kB / 24.69 MB, free: 9.434 MB / 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 0.8178/0.8178, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.686e-05, allocations: 6.219 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1075/0.1076, allocations: 128.3 MB / 448 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1093, allocations: 2.23 MB / 450.2 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.1094, allocations: 0 / 450.2 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1095, allocations: 27.77 kB / 450.3 MB, free: 2.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.1103, allocations: 342 kB / 450.6 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1104, allocations: 67.67 kB / 450.7 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.1108, allocations: 71.55 kB / 450.7 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.1108, allocations: 7.984 kB / 450.7 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.111, allocations: 51.77 kB / 450.8 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.111, allocations: 15.98 kB / 450.8 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.111, allocations: 0 / 450.8 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.1115, allocations: 347.3 kB / 451.1 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1115, allocations: 4 kB / 451.1 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1115, allocations: 27.91 kB / 451.2 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1119, allocations: 339.1 kB / 451.5 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1119, allocations: 4 kB / 451.5 MB, free: 1.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1119, allocations: 0 / 451.5 MB, free: 1.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1119, allocations: 0 / 451.5 MB, free: 1.484 MB / 410.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.0005956/0.1125, allocations: 357.1 kB / 451.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1125, allocations: 12.92 kB / 451.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.1153, allocations: 484.2 kB / 452.3 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.894e-05/0.1153, allocations: 113.7 kB / 452.4 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1153, allocations: 8.125 kB / 452.5 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.1154, allocations: 11.98 kB / 452.5 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.1159, allocations: 301.1 kB / 452.8 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1159, allocations: 0 / 452.8 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.1159, allocations: 4 kB / 452.8 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.116, allocations: 3.938 kB / 452.8 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1339/0.2499, allocations: 272.3 kB / 453 MB, free: 137.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.2506, allocations: 350.5 kB / 453.4 MB, free: 137.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.2512, allocations: 195.3 kB / 453.6 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2514, allocations: 68.55 kB / 453.6 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2514, allocations: 6.547 kB / 453.6 MB, free: 137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.2514, allocations: 32.22 kB / 453.7 MB, free: 137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.2514, allocations: 0 / 453.7 MB, free: 137 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001132/0.2525, allocations: 423 kB / 454.1 MB, free: 136.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.2526, allocations: 54.39 kB / 454.1 MB, free: 136.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.2527, allocations: 100.5 kB / 454.2 MB, free: 136.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2527, allocations: 30.8 kB / 454.3 MB, free: 136.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.2527, allocations: 94.44 kB / 454.4 MB, free: 136.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2527, allocations: 59.31 kB / 454.4 MB, free: 136.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.2528, allocations: 48.38 kB / 454.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.2529, allocations: 323 kB / 454.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2531, allocations: 79.72 kB / 454.9 MB, free: 136.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2532, allocations: 123.1 kB / 455 MB, free: 136.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.2536, allocations: 205.1 kB / 455.2 MB, free: 136 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2536, allocations: 8.219 kB / 455.2 MB, free: 136 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004346/0.254, allocations: 237.3 kB / 455.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.254, allocations: 5.625 kB / 455.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2541, allocations: 1.125 kB / 455.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2541, allocations: 2.125 kB / 455.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.2543, allocations: 62.52 kB / 455.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2543, allocations: 6.188 kB / 455.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2544, allocations: 13.78 kB / 455.5 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.2544, allocations: 11.33 kB / 455.5 MB, free: 135.9 MB / 410.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 6.937e-05/0.2545, allocations: 125 kB / 455.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.2545, allocations: 7 kB / 455.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.255, allocations: 282.4 kB / 455.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.255, allocations: 3.938 kB / 455.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.255, allocations: 0.875 kB / 455.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.255, allocations: 7.562 kB / 455.9 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.2556, allocations: 0.509 MB / 456.4 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2556, allocations: 3.688 kB / 456.4 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.2558, allocations: 46.55 kB / 456.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2558, allocations: 3.938 kB / 456.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2558, allocations: 8.359 kB / 456.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2558, allocations: 3.5 kB / 456.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2558, allocations: 0 / 456.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.2561, allocations: 330.5 kB / 456.8 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.2561, allocations: 11.38 kB / 456.8 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2562, allocations: 7.938 kB / 456.8 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2563, allocations: 15.8 kB / 456.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.2563, allocations: 11.12 kB / 456.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.2563, allocations: 8 kB / 456.9 MB, free: 135.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.821e-05/0.2563, allocations: 85.2 kB / 457 MB, free: 135 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2563, allocations: 0 / 457 MB, free: 135 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.2566, allocations: 46.25 kB / 457 MB, free: 134.9 MB / 410.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.0001868/0.2567, allocations: 133.3 kB / 457.1 MB, free: 134.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.2571, allocations: 191.6 kB / 457.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2571, allocations: 0 / 457.3 MB, free: 134.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2572, allocations: 101.8 kB / 457.4 MB, free: 134.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.2576, allocations: 41.19 kB / 457.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.2581, allocations: 288.5 kB / 457.8 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.785e-05/0.2581, allocations: 75.83 kB / 457.8 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.2583, allocations: 44.47 kB / 457.9 MB, free: 134.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2583, allocations: 3.938 kB / 457.9 MB, free: 134.1 MB / 410.7 MB Notification: Performance of Templates: time 0.002724/0.261, allocations: 2.386 MB / 460.3 MB, free: 131.7 MB / 410.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.2441241806373]