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.001121/0.001121, allocations: 104.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001085, allocations: 63.95 kB / 306.2 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07965/0.08075, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005162/0.08595, allocations: 4.577 MB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.0877, allocations: 1.814 MB / 363.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.08776, allocations: 0 / 363.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.08801, allocations: 35.75 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.08828, allocations: 115.4 kB / 363.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.08882, allocations: 230.6 kB / 363.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.08917, allocations: 366.7 kB / 363.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.08922, allocations: 17.08 kB / 363.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.08945, allocations: 127.5 kB / 364 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.08956, allocations: 87.66 kB / 364.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.0896, allocations: 4 kB / 364.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.08984, allocations: 95.88 kB / 364.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.08991, allocations: 39.88 kB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.09001, allocations: 75.64 kB / 364.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.09031, allocations: 215.7 kB / 364.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09032, allocations: 0 / 364.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09033, allocations: 0 / 364.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.09034, allocations: 0 / 364.6 MB, free: 6.73 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.0009039/0.09125, allocations: 491.3 kB / 365 MB, free: 6.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.09128, allocations: 8.031 kB / 365 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.09147, allocations: 24.83 kB / 365.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.09169, allocations: 216.1 kB / 365.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.09171, allocations: 8.656 kB / 365.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.09175, allocations: 20.38 kB / 365.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.09217, allocations: 221.5 kB / 365.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.0922, allocations: 8 kB / 365.5 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.09223, allocations: 4 kB / 365.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.09224, allocations: 4 kB / 365.5 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.09261, allocations: 143.8 kB / 365.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.09386, allocations: 0.944 MB / 366.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.09427, allocations: 170.5 kB / 366.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.09443, allocations: 52.83 kB / 366.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/0.09493, allocations: 0.4954 MB / 367.3 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.09497, allocations: 38.56 kB / 367.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.09498, allocations: 0 / 367.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002593/0.09758, allocations: 0.7732 MB / 368.1 MB, free: 2.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.09763, allocations: 51.41 kB / 368.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.09775, allocations: 163.1 kB / 368.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.09779, allocations: 29.7 kB / 368.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.09787, allocations: 135.8 kB / 368.5 MB, free: 2.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.09793, allocations: 74.98 kB / 368.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.09803, allocations: 61.61 kB / 368.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.09816, allocations: 326.8 kB / 369 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.09842, allocations: 91.69 kB / 369.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.09878, allocations: 185.7 kB / 369.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.09938, allocations: 296.6 kB / 369.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.09939, allocations: 7.922 kB / 369.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007151/0.1001, allocations: 313 kB / 369.8 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1001, allocations: 11.98 kB / 369.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1002, allocations: 4 kB / 369.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1002, allocations: 4.469 kB / 369.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.1006, allocations: 83.83 kB / 369.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1006, allocations: 8 kB / 370 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.1008, allocations: 19.98 kB / 370 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.1009, allocations: 12 kB / 370 MB, free: 0.832 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.0001294/0.101, allocations: 142.7 kB / 370.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.1011, allocations: 19.75 kB / 370.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.1018, allocations: 246.5 kB / 370.4 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1018, allocations: 4 kB / 370.4 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1018, allocations: 0 / 370.4 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1018, allocations: 0 / 370.4 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1502/0.252, allocations: 0.5888 MB / 371 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.252, allocations: 4.812 kB / 371 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.2524, allocations: 55.06 kB / 371 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2524, allocations: 2.094 kB / 371 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2524, allocations: 8.188 kB / 371 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2524, allocations: 2.094 kB / 371 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.2524, allocations: 5.734 kB / 371.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.2533, allocations: 404 kB / 371.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.2534, allocations: 105 kB / 371.5 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.2534, allocations: 8.938 kB / 371.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2537, allocations: 14.27 kB / 371.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2537, allocations: 21.84 kB / 371.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.2538, allocations: 9.125 kB / 371.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.2539, allocations: 111.1 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2539, allocations: 0 / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.2543, allocations: 60.39 kB / 371.8 MB, free: 20.45 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.0002308/0.2545, allocations: 134.5 kB / 371.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.2551, allocations: 219.8 kB / 372.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2551, allocations: 1.125 kB / 372.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.2554, allocations: 94.09 kB / 372.2 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.2558, allocations: 41.09 kB / 372.2 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.2568, allocations: 0.5307 MB / 372.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.257, allocations: 0.7174 MB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.2572, allocations: 49.19 kB / 373.5 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.2573, allocations: 24.69 kB / 373.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2574, allocations: 0 / 373.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of Templates: time 0.005899/0.2633, allocations: 2.581 MB / 376.1 MB, free: 19.2 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