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.001665/0.001665, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002085/0.002085, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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.492/1.492, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 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.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 0.001564/0.001564, allocations: 51.92 kB / 371.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2285, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006078/0.2346, allocations: 4.213 MB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2367, allocations: 1.615 MB / 429.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.2368, allocations: 11.94 kB / 429.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.237, allocations: 39.69 kB / 429.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.2374, allocations: 123.2 kB / 429.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.238, allocations: 249.3 kB / 430 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.2384, allocations: 294.9 kB / 430.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.2385, allocations: 9.297 kB / 430.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.2388, allocations: 131.7 kB / 430.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.2389, allocations: 83.59 kB / 430.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.239, allocations: 8 kB / 430.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.2392, allocations: 91.88 kB / 430.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.2393, allocations: 39.89 kB / 430.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.946e-05/0.2394, allocations: 71.72 kB / 430.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.2397, allocations: 210 kB / 431 MB, free: 7.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2397, allocations: 0 / 431 MB, free: 7.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2398, allocations: 0 / 431 MB, free: 7.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2398, allocations: 0 / 431 MB, free: 7.301 MB / 334.1 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.0009474/0.2407, allocations: 421.8 kB / 431.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2407, allocations: 11.97 kB / 431.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2409, allocations: 28.83 kB / 431.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.2412, allocations: 142.4 kB / 431.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2412, allocations: 12.66 kB / 431.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.2413, allocations: 24.25 kB / 431.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.2418, allocations: 371.8 kB / 432 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2418, allocations: 0 / 432 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2418, allocations: 8 kB / 432 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.2418, allocations: 8 kB / 432 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.2422, allocations: 151.8 kB / 432.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2436, allocations: 0.8367 MB / 433 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.244, allocations: 142.8 kB / 433.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2441, allocations: 52.83 kB / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/0.2446, allocations: 332.1 kB / 433.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.2447, allocations: 38.5 kB / 433.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.2447, allocations: 0 / 433.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002564/0.2472, allocations: 0.7067 MB / 434.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2473, allocations: 55.41 kB / 434.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2474, allocations: 159.8 kB / 434.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2475, allocations: 33.64 kB / 434.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2476, allocations: 140.1 kB / 434.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.2476, allocations: 75.42 kB / 434.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2478, allocations: 61.64 kB / 434.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2479, allocations: 322.8 kB / 435 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.2482, allocations: 87.88 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.2485, allocations: 202 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.2491, allocations: 291.3 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2491, allocations: 4 kB / 435.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000746/0.2499, allocations: 328.4 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2499, allocations: 8 kB / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2499, allocations: 7.984 kB / 435.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2499, allocations: 4 kB / 436 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2503, allocations: 75.89 kB / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.2503, allocations: 11.94 kB / 436 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.2506, allocations: 19.98 kB / 436.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.2506, allocations: 12 kB / 436.1 MB, free: 1.809 MB / 334.1 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.0001427/0.2507, allocations: 141.8 kB / 436.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.2508, allocations: 15.91 kB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.2515, allocations: 238.6 kB / 436.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2515, allocations: 4 kB / 436.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2515, allocations: 0 / 436.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2515, allocations: 7.875 kB / 436.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.2528, allocations: 0.517 MB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2528, allocations: 0 / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.2531, allocations: 60.08 kB / 437 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2531, allocations: 0 / 437 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2531, allocations: 4 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.2531, allocations: 7.938 kB / 437.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2531, allocations: 3.984 kB / 437.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.254, allocations: 407.1 kB / 437.5 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.2541, allocations: 11.94 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.2541, allocations: 11.94 kB / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2543, allocations: 11.98 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.2544, allocations: 23.84 kB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2544, allocations: 11.98 kB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.2545, allocations: 103.3 kB / 437.6 MB, free: 156 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2545, allocations: 8.062 kB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.2548, allocations: 59.94 kB / 437.7 MB, free: 88 kB / 334.1 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.0002475/0.2551, allocations: 131.1 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.2557, allocations: 217.7 kB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2557, allocations: 0 / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.256, allocations: 84.94 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.2564, allocations: 50.53 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2575, allocations: 498.5 kB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2576, allocations: 103.3 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2577, allocations: 27.42 kB / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2577, allocations: 0 / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Templates: time 0.005088/0.2628, allocations: 2.742 MB / 441.5 MB, free: 12.18 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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: 7.412423111964017]