Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 193 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007791/0.0007791, allocations: 94.84 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 51.41 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003083/0.236, allocations: 4.333 MB / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2372, allocations: 2.162 MB / 418.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.2373, allocations: 4 kB / 418.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.2375, allocations: 31.8 kB / 418.6 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.2378, allocations: 111.4 kB / 418.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.2382, allocations: 243.3 kB / 418.9 MB, free: 18.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.2385, allocations: 366.8 kB / 419.3 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.2385, allocations: 13.11 kB / 419.3 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.2387, allocations: 127.5 kB / 419.4 MB, free: 18.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.2388, allocations: 83.73 kB / 419.5 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2388, allocations: 4 kB / 419.5 MB, free: 18.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.239, allocations: 99.86 kB / 419.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.2391, allocations: 39.88 kB / 419.6 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.2392, allocations: 93.38 kB / 419.7 MB, free: 17.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2394, allocations: 212.9 kB / 419.9 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2394, allocations: 0 / 419.9 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2394, allocations: 0 / 419.9 MB, free: 17.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2394, allocations: 0 / 419.9 MB, free: 17.78 MB / 298.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.0006919/0.2401, allocations: 459.3 kB / 420.4 MB, free: 17.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.2402, allocations: 8.031 kB / 420.4 MB, free: 17.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.2403, allocations: 24.73 kB / 420.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2405, allocations: 204.2 kB / 420.6 MB, free: 17.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2405, allocations: 8.656 kB / 420.6 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.2405, allocations: 20.28 kB / 420.6 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2409, allocations: 212.8 kB / 420.8 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2409, allocations: 3.938 kB / 420.8 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.2409, allocations: 8 kB / 420.9 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2409, allocations: 4 kB / 420.9 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.2412, allocations: 147.8 kB / 421 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.2422, allocations: 0.944 MB / 421.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.2426, allocations: 146.7 kB / 422.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2427, allocations: 56.83 kB / 422.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/0.2431, allocations: 0.5031 MB / 422.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.2431, allocations: 38.56 kB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2431, allocations: 4 kB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002118/0.2452, allocations: 0.7645 MB / 423.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.2452, allocations: 55.34 kB / 423.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.2453, allocations: 160.9 kB / 423.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2454, allocations: 29.7 kB / 423.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.2454, allocations: 143.8 kB / 423.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2455, allocations: 67 kB / 423.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.2455, allocations: 8 kB / 423.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.2455, allocations: 326.8 kB / 424.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.2457, allocations: 87.69 kB / 424.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.246, allocations: 186 kB / 424.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.2464, allocations: 295.6 kB / 424.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2464, allocations: 8 kB / 424.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005517/0.247, allocations: 309.4 kB / 425.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.247, allocations: 8 kB / 425.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.247, allocations: 4 kB / 425.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.247, allocations: 7.938 kB / 425.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.2474, allocations: 79.89 kB / 425.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2474, allocations: 15.92 kB / 425.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.2476, allocations: 20.12 kB / 425.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.2477, allocations: 19.98 kB / 425.2 MB, free: 12 MB / 298.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.434e-05/0.2477, allocations: 137.7 kB / 425.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2478, allocations: 15.81 kB / 425.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.2483, allocations: 238.6 kB / 425.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2484, allocations: 4 kB / 425.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2484, allocations: 0 / 425.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2484, allocations: 0 / 425.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.2494, allocations: 0.5873 MB / 426.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2494, allocations: 7.984 kB / 426.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.2497, allocations: 51.91 kB / 426.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2497, allocations: 4 kB / 426.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2497, allocations: 12.09 kB / 426.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2497, allocations: 15.88 kB / 426.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2497, allocations: 0 / 426.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.2504, allocations: 405.5 kB / 426.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.2504, allocations: 92.94 kB / 426.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.2504, allocations: 11.94 kB / 426.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2507, allocations: 11.98 kB / 426.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.2507, allocations: 16.05 kB / 426.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2507, allocations: 12 kB / 426.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.2508, allocations: 109.9 kB / 427 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2508, allocations: 0 / 427 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.2511, allocations: 67.94 kB / 427 MB, free: 10.09 MB / 298.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.0001785/0.2513, allocations: 143.1 kB / 427.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.2518, allocations: 216.5 kB / 427.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2518, allocations: 0 / 427.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.252, allocations: 91.95 kB / 427.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2523, allocations: 35.97 kB / 427.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.2531, allocations: 0.5747 MB / 428.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.2533, allocations: 0.7128 MB / 428.8 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000261/0.2535, allocations: 49.94 kB / 428.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.2536, allocations: 23.42 kB / 428.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2536, allocations: 0 / 428.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of Templates: time 0.004388/0.258, allocations: 2.556 MB / 431.4 MB, free: 5.641 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches