Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.0009031/0.0009031, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009651/0.0009651, allocations: 170 kB / 24.91 MB, free: 9.188 MB / 18.57 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 0.9044/0.9044, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 3.938 kB / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.129e-05, allocations: 2.312 kB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004012/0.004023, allocations: 4.618 MB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.005321, allocations: 1.825 MB / 279.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.00537, allocations: 4 kB / 279.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.005592, allocations: 39.69 kB / 279.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.005863, allocations: 127.1 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.006224, allocations: 255.2 kB / 280.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.00645, allocations: 298.8 kB / 280.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.006484, allocations: 9.953 kB / 280.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.006691, allocations: 175.5 kB / 280.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.00677, allocations: 67.8 kB / 280.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.006786, allocations: 8 kB / 280.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.006921, allocations: 99.86 kB / 280.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.006974, allocations: 43.83 kB / 281 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.007023, allocations: 51.91 kB / 281 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.007245, allocations: 215.3 kB / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.007246, allocations: 0 / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007247, allocations: 0 / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.00725, allocations: 0 / 281.2 MB, free: 9.496 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000535/0.007785, allocations: 396.5 kB / 281.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.007813, allocations: 8.031 kB / 281.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.007934, allocations: 48.78 kB / 281.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.008074, allocations: 145.6 kB / 281.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.008086, allocations: 8.656 kB / 281.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.008114, allocations: 16.38 kB / 281.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.008519, allocations: 347.7 kB / 282.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.00853, allocations: 4.188 kB / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.008547, allocations: 8.125 kB / 282.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.008552, allocations: 8 kB / 282.2 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.008654, allocations: 78.72 kB / 282.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.009262, allocations: 0.7404 MB / 283 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.009414, allocations: 141.2 kB / 283.1 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.009448, allocations: 32.78 kB / 283.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.009711, allocations: 334.4 kB / 283.5 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.009731, allocations: 34.56 kB / 283.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.009732, allocations: 0 / 283.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001143/0.01088, allocations: 0.6173 MB / 284.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.0109, allocations: 59.34 kB / 284.2 MB, free: 6.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.01097, allocations: 157.8 kB / 284.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.01099, allocations: 29.7 kB / 284.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.01104, allocations: 148.1 kB / 284.5 MB, free: 5.922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.01107, allocations: 75.36 kB / 284.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.01113, allocations: 57.64 kB / 284.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.0112, allocations: 334.7 kB / 285 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.01124, allocations: 38.81 kB / 285 MB, free: 5.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.01133, allocations: 146 kB / 285.2 MB, free: 5.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.01148, allocations: 222.1 kB / 285.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01148, allocations: 3.984 kB / 285.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001951/0.01167, allocations: 200.4 kB / 285.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.01168, allocations: 8.031 kB / 285.6 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01169, allocations: 4 kB / 285.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.0117, allocations: 8 kB / 285.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01186, allocations: 75.89 kB / 285.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01187, allocations: 11.94 kB / 285.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.01195, allocations: 11.98 kB / 285.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.01197, allocations: 16 kB / 285.7 MB, free: 4.613 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.782e-05/0.01203, allocations: 132.5 kB / 285.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.01206, allocations: 19.98 kB / 285.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.01223, allocations: 149.5 kB / 286 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01223, allocations: 4 kB / 286 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.01224, allocations: 0 / 286 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01224, allocations: 7.969 kB / 286 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.01267, allocations: 424.7 kB / 286.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01267, allocations: 8.031 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.01278, allocations: 39.97 kB / 286.5 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01278, allocations: 7.938 kB / 286.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01279, allocations: 8 kB / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01279, allocations: 4 kB / 286.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.0128, allocations: 7.922 kB / 286.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.013, allocations: 318 kB / 286.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.01304, allocations: 23.88 kB / 286.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01306, allocations: 4 kB / 286.9 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.01314, allocations: 15.94 kB / 286.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.01316, allocations: 15.91 kB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01317, allocations: 7.984 kB / 286.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.0132, allocations: 35.88 kB / 286.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0132, allocations: 0 / 286.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000197/0.01339, allocations: 60 kB / 287 MB, free: 3.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0001315/0.01352, allocations: 112.2 kB / 287.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01368, allocations: 148.9 kB / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01368, allocations: 0 / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/0.01374, allocations: 68.89 kB / 287.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01392, allocations: 39.91 kB / 287.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.01463, allocations: 420.1 kB / 287.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.01467, allocations: 68.34 kB / 287.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.01479, allocations: 49.86 kB / 287.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.01492, allocations: 99.31 kB / 288 MB, free: 2.211 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01492, allocations: 0 / 288 MB, free: 2.211 MB / 266.7 MB Notification: Performance of Templates: time 0.09049/0.1054, allocations: 3.01 MB / 291 MB, free: 22.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5730200316756964]