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.0009353/0.0009353, allocations: 97.67 kB / 17 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009221/0.0009221, allocations: 194 kB / 17.91 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002002/0.0002003, allocations: 8 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08222/0.08244, allocations: 51.51 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004003/0.08648, allocations: 4.046 MB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.0881, allocations: 1.683 MB / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.08816, allocations: 0 / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.08834, allocations: 31.81 kB / 364.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.0886, allocations: 111.3 kB / 364.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.08911, allocations: 218.8 kB / 364.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.08944, allocations: 322.8 kB / 365 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.08949, allocations: 9.078 kB / 365 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.08971, allocations: 123.6 kB / 365.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.08984, allocations: 91.59 kB / 365.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.08987, allocations: 4 kB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.09007, allocations: 79.89 kB / 365.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.09014, allocations: 35.89 kB / 365.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.09019, allocations: 49.64 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.09039, allocations: 147.9 kB / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0904, allocations: 0 / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09041, allocations: 0 / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09042, allocations: 4 kB / 365.5 MB, free: 6.484 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.0007722/0.0912, allocations: 459.1 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.09124, allocations: 8.031 kB / 366 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.0914, allocations: 19.89 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.0916, allocations: 210.8 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.09162, allocations: 12.28 kB / 366.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.09166, allocations: 19.95 kB / 366.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.09204, allocations: 213.5 kB / 366.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.09206, allocations: 0 / 366.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.09209, allocations: 12 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.09211, allocations: 4 kB / 366.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.09243, allocations: 139.8 kB / 366.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.09359, allocations: 0.9479 MB / 367.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.09396, allocations: 154.7 kB / 367.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.0941, allocations: 52.83 kB / 367.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004862/0.09459, allocations: 0.507 MB / 368.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.09463, allocations: 38.55 kB / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.09464, allocations: 4 kB / 368.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00225/0.09689, allocations: 0.7582 MB / 369.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.09694, allocations: 59.36 kB / 369.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.09707, allocations: 149.9 kB / 369.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.0971, allocations: 33.69 kB / 369.3 MB, free: 2.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.09718, allocations: 147.7 kB / 369.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.09724, allocations: 71 kB / 369.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.09727, allocations: 8 kB / 369.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.09737, allocations: 326.8 kB / 369.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.09759, allocations: 75.94 kB / 369.9 MB, free: 1.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.09787, allocations: 198.2 kB / 370.1 MB, free: 1.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.09813, allocations: 104.9 kB / 370.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.09814, allocations: 0 / 370.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006414/0.09879, allocations: 323 kB / 370.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.09881, allocations: 7.281 kB / 370.5 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.09883, allocations: 8 kB / 370.5 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.09885, allocations: 8 kB / 370.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.09921, allocations: 79.88 kB / 370.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.09923, allocations: 7.953 kB / 370.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.09944, allocations: 28.2 kB / 370.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.09948, allocations: 19.94 kB / 370.7 MB, free: 0.9258 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.0996, allocations: 134.8 kB / 370.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.09965, allocations: 11.91 kB / 370.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.1003, allocations: 245 kB / 371.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1003, allocations: 4 kB / 371.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1003, allocations: 3.938 kB / 371.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1003, allocations: 3.984 kB / 371.1 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1534/0.2537, allocations: 0.5936 MB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2537, allocations: 1.609 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.254, allocations: 52.67 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2541, allocations: 3.531 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2541, allocations: 7.859 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.2541, allocations: 4.531 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2541, allocations: 1.156 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.2549, allocations: 404.1 kB / 372.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.255, allocations: 105.8 kB / 372.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2551, allocations: 7.062 kB / 372.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2553, allocations: 13.45 kB / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.2553, allocations: 17 kB / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.2554, allocations: 11.41 kB / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.24e-05/0.2554, allocations: 113.7 kB / 372.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2554, allocations: 0.6875 kB / 372.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.2559, allocations: 58.61 kB / 372.5 MB, free: 19.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.256, allocations: 121.6 kB / 372.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.2566, allocations: 224.8 kB / 372.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2566, allocations: 1.344 kB / 372.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.2568, allocations: 89.05 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2573, allocations: 41.84 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/0.2582, allocations: 0.5722 MB / 373.5 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.2584, allocations: 0.7143 MB / 374.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.2587, allocations: 48 kB / 374.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.2588, allocations: 28 kB / 374.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2588, allocations: 0 / 374.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of Templates: time 0.005815/0.2646, allocations: 2.48 MB / 376.8 MB, free: 17.95 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