Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007254/0.0007255, allocations: 91.73 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008441/0.0008442, allocations: 198.8 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.8 MB, free: 9.703 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002166/0.0002166, allocations: 4.281 kB / 307.7 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.0914, allocations: 51.53 MB / 359.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004842/0.09628, allocations: 4.192 MB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.09836, allocations: 1.799 MB / 365.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.09843, allocations: 0 / 365.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.09867, allocations: 35.8 kB / 365.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.09907, allocations: 115.3 kB / 365.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.09964, allocations: 238.5 kB / 365.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.1, allocations: 366.8 kB / 366 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1001, allocations: 17.06 kB / 366 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.1003, allocations: 127.5 kB / 366.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1004, allocations: 83.67 kB / 366.2 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1005, allocations: 4 kB / 366.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.1007, allocations: 99.86 kB / 366.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1008, allocations: 39.83 kB / 366.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.1009, allocations: 93.42 kB / 366.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1012, allocations: 211.6 kB / 366.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1012, allocations: 0 / 366.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1012, allocations: 4 kB / 366.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1012, allocations: 0 / 366.6 MB, free: 5.668 MB / 302.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.0009826/0.1022, allocations: 463.2 kB / 367.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1022, allocations: 8.031 kB / 367.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.1025, allocations: 20.83 kB / 367.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1027, allocations: 208.2 kB / 367.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1028, allocations: 12.59 kB / 367.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.1028, allocations: 20.38 kB / 367.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.1032, allocations: 213.6 kB / 367.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1032, allocations: 4 kB / 367.6 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.1033, allocations: 11.94 kB / 367.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1033, allocations: 4 kB / 367.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.1036, allocations: 147.8 kB / 367.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.1051, allocations: 0.9478 MB / 368.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.1055, allocations: 154.7 kB / 368.8 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.1057, allocations: 52.83 kB / 368.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/0.1063, allocations: 0.5032 MB / 369.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1063, allocations: 38.56 kB / 369.4 MB, free: 2.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1064, allocations: 0 / 369.4 MB, free: 2.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002619/0.109, allocations: 0.767 MB / 370.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.109, allocations: 51.41 kB / 370.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1092, allocations: 157.6 kB / 370.4 MB, free: 1.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1092, allocations: 33.7 kB / 370.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.1093, allocations: 139.8 kB / 370.5 MB, free: 1.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.1093, allocations: 67 kB / 370.6 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1094, allocations: 29.7 kB / 370.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1095, allocations: 330.8 kB / 371 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.1098, allocations: 87.88 kB / 371.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.1101, allocations: 189.4 kB / 371.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.1107, allocations: 299 kB / 371.5 MB, free: 308 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1107, allocations: 0 / 371.5 MB, free: 308 kB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.1484/0.2591, allocations: 317.9 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.2592, allocations: 7.391 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2592, allocations: 2.719 kB / 371.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.2593, allocations: 5.781 kB / 371.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.2597, allocations: 85.14 kB / 371.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2597, allocations: 5.438 kB / 371.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.26, allocations: 22.03 kB / 372 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.26, allocations: 15.17 kB / 372 MB, free: 20.13 MB / 302.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.0001169/0.2602, allocations: 140.2 kB / 372.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.2602, allocations: 17.12 kB / 372.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.261, allocations: 241 kB / 372.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.261, allocations: 1.469 kB / 372.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.261, allocations: 0.6562 kB / 372.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.261, allocations: 2.188 kB / 372.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2623, allocations: 0.6041 MB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2623, allocations: 1.406 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.2626, allocations: 53.64 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2626, allocations: 5.703 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2627, allocations: 7.766 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2627, allocations: 2.5 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2627, allocations: 1.25 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.2635, allocations: 409.8 kB / 373.4 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.2636, allocations: 108.6 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.2636, allocations: 9.25 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2639, allocations: 15.25 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.2639, allocations: 14.05 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.264, allocations: 16.89 kB / 373.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.2641, allocations: 109.1 kB / 373.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2641, allocations: 1.125 kB / 373.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.2645, allocations: 64.56 kB / 373.8 MB, free: 19.32 MB / 302.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.000223/0.2647, allocations: 130 kB / 373.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006277/0.2653, allocations: 214.4 kB / 374.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2653, allocations: 1.062 kB / 374.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.2656, allocations: 99.11 kB / 374.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.2661, allocations: 37.5 kB / 374.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.2671, allocations: 0.584 MB / 374.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2672, allocations: 0.7165 MB / 375.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.2675, allocations: 44.92 kB / 375.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.2676, allocations: 26.94 kB / 375.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of SimCode: time 1.362e-06/0.2676, allocations: 0.5625 kB / 375.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of Templates: time 0.006071/0.2737, allocations: 2.566 MB / 378.2 MB, free: 17.99 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches