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.0008966/0.0008966, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001367/0.001367, allocations: 139.9 kB / 24.89 MB, free: 9.203 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.8949/0.8949, allocations: 173.3 MB / 201.5 MB, free: 9.227 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.713e-06/1.713e-06, allocations: 0 / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.58e-05, allocations: 2.312 kB / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005744/0.005769, allocations: 4.594 MB / 273.1 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.00771, allocations: 1.821 MB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.007779, allocations: 4 kB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.008019, allocations: 39.69 kB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.00836, allocations: 127.1 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.008913, allocations: 255.2 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.009257, allocations: 286.8 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.009301, allocations: 9.969 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.009541, allocations: 167.6 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.009634, allocations: 79.78 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.009654, allocations: 8 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.009818, allocations: 95.81 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.009871, allocations: 39.88 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.009921, allocations: 63.83 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.01014, allocations: 191.4 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.01015, allocations: 0 / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01015, allocations: 0 / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.01015, allocations: 0 / 276.2 MB, free: 14.42 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.0005168/0.01067, allocations: 388.5 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.0107, allocations: 12.92 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.01083, allocations: 48.72 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.01097, allocations: 137.6 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.01099, allocations: 12.66 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.01102, allocations: 20.31 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.01125, allocations: 338.9 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.01127, allocations: 12.12 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.01128, allocations: 16.06 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.01129, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.01139, allocations: 86.64 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.01201, allocations: 0.7366 MB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.01217, allocations: 141.2 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.0122, allocations: 32.84 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.01246, allocations: 342.3 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.01249, allocations: 38.5 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.01249, allocations: 0 / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001203/0.01369, allocations: 0.6158 MB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.01371, allocations: 55.41 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.0138, allocations: 165.2 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01382, allocations: 29.7 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.01387, allocations: 144.1 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.01391, allocations: 79.3 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.01397, allocations: 57.67 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.01406, allocations: 326.8 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.0141, allocations: 34.81 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.0142, allocations: 145.4 kB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01437, allocations: 238.2 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01437, allocations: 0 / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002079/0.01458, allocations: 208.3 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01459, allocations: 4 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01459, allocations: 4 kB / 280.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01461, allocations: 8 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.0148, allocations: 83.89 kB / 280.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01481, allocations: 7.984 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.01489, allocations: 15.94 kB / 280.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01491, allocations: 12 kB / 280.8 MB, free: 9.523 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 7.47e-05/0.01498, allocations: 132.7 kB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.01502, allocations: 19.92 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.0152, allocations: 142.7 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.0152, allocations: 4 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.0152, allocations: 0 / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0152, allocations: 3.984 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.01564, allocations: 422 kB / 281.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01564, allocations: 4 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01577, allocations: 51.89 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01578, allocations: 4 kB / 281.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01579, allocations: 7.938 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01579, allocations: 4 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01579, allocations: 0 / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.01602, allocations: 330.1 kB / 281.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.01604, allocations: 19.89 kB / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01606, allocations: 7.938 kB / 281.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.01614, allocations: 8 kB / 281.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.01616, allocations: 15.97 kB / 281.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01618, allocations: 7.984 kB / 281.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.0162, allocations: 31.78 kB / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0162, allocations: 0 / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01641, allocations: 67.97 kB / 282 MB, free: 8.176 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.0001381/0.01655, allocations: 104.3 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.01672, allocations: 159.2 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.01673, allocations: 4 kB / 282.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.01678, allocations: 56.77 kB / 282.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.01699, allocations: 44.84 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.01771, allocations: 403.8 kB / 282.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.01775, allocations: 80.77 kB / 282.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.01787, allocations: 41.94 kB / 282.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.01802, allocations: 107.3 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01802, allocations: 0 / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Templates: time 0.004082/0.0221, allocations: 3.015 MB / 286 MB, free: 4.137 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 -s gbode -gbm=radauIIA3 -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.5232461015693843]