Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.0009692/0.0009692, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.00148/0.00148, allocations: 145.2 kB / 25.59 MB, free: 8.914 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.9522/0.9522, allocations: 173.4 MB / 202.2 MB, free: 8.293 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.921e-05, allocations: 3.938 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006444/0.006473, allocations: 4.533 MB / 273.7 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.008867, allocations: 1.799 MB / 275.5 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.009006, allocations: 4 kB / 275.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.009332, allocations: 39.75 kB / 275.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.009808, allocations: 127.1 kB / 275.7 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.01053, allocations: 251.1 kB / 275.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.01096, allocations: 294.8 kB / 276.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.01102, allocations: 9.312 kB / 276.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.01139, allocations: 167.6 kB / 276.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.01153, allocations: 75.77 kB / 276.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.01156, allocations: 8 kB / 276.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.0118, allocations: 95.81 kB / 276.6 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.01188, allocations: 35.89 kB / 276.6 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.01197, allocations: 59.91 kB / 276.6 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.01237, allocations: 199.3 kB / 276.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.01237, allocations: 0 / 276.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01237, allocations: 4 kB / 276.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.01238, allocations: 0 / 276.8 MB, free: 2.113 MB / 250.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.000834/0.01321, allocations: 0.4963 MB / 277.3 MB, free: 1.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.01325, allocations: 12.03 kB / 277.4 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.01347, allocations: 48.64 kB / 277.4 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.01369, allocations: 148.5 kB / 277.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.01371, allocations: 12.66 kB / 277.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.01375, allocations: 20.31 kB / 277.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.01412, allocations: 349.1 kB / 277.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01413, allocations: 4.188 kB / 277.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.01416, allocations: 8.125 kB / 277.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01416, allocations: 4 kB / 277.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.01432, allocations: 92.3 kB / 278 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01552, allocations: 1.08 MB / 279.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.01576, allocations: 111.3 kB / 279.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.01583, allocations: 31.61 kB / 279.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004845/0.01631, allocations: 423.9 kB / 279.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.01634, allocations: 33.39 kB / 279.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.01634, allocations: 0 / 279.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001402/0.01775, allocations: 0.513 MB / 280.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.01778, allocations: 51.41 kB / 280.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01793, allocations: 223.7 kB / 280.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.01796, allocations: 33.7 kB / 280.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.01805, allocations: 190.8 kB / 280.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.01811, allocations: 71.41 kB / 280.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.01821, allocations: 71.28 kB / 280.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.01837, allocations: 0.4962 MB / 281.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.01845, allocations: 35.97 kB / 281.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.01861, allocations: 206.5 kB / 281.6 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.0189, allocations: 257 kB / 281.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.0189, allocations: 4 kB / 281.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003754/0.01928, allocations: 241.5 kB / 282.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.0193, allocations: 16.02 kB / 282.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.01931, allocations: 7.938 kB / 282.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01932, allocations: 4 kB / 282.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.01961, allocations: 71.91 kB / 282.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.01962, allocations: 11.92 kB / 282.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.01979, allocations: 12 kB / 282.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.01982, allocations: 12 kB / 282.2 MB, free: 12.3 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 0.0001381/0.01996, allocations: 180.4 kB / 282.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.02003, allocations: 27.91 kB / 282.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.02039, allocations: 177.6 kB / 282.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.0204, allocations: 4 kB / 282.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.0204, allocations: 0 / 282.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.0204, allocations: 0 / 282.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.02131, allocations: 0.4967 MB / 283.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.02131, allocations: 0 / 283.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.02153, allocations: 47.95 kB / 283.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.02153, allocations: 0 / 283.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.02155, allocations: 8 kB / 283.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.02156, allocations: 7.938 kB / 283.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02156, allocations: 0 / 283.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.02208, allocations: 369.4 kB / 283.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.02211, allocations: 19.89 kB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.02215, allocations: 4 kB / 283.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.02232, allocations: 12 kB / 283.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.02235, allocations: 15.91 kB / 283.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.02238, allocations: 8 kB / 283.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.02246, allocations: 151.1 kB / 283.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02246, allocations: 0 / 283.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004864/0.02295, allocations: 63.94 kB / 283.8 MB, free: 10.62 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.000299/0.02325, allocations: 139.2 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.0236, allocations: 151.6 kB / 284 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.0236, allocations: 0 / 284 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.02372, allocations: 75.56 kB / 284.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.02424, allocations: 39.95 kB / 284.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.02555, allocations: 415.7 kB / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.02562, allocations: 80.53 kB / 284.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.02583, allocations: 49.81 kB / 284.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.02606, allocations: 130.1 kB / 284.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02606, allocations: 0 / 284.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of Templates: time 0.006706/0.03276, allocations: 3.066 MB / 287.9 MB, free: 6.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6180622871033847]