Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.4 MB / 250 MB, free: 9.102 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 67.83 kB / 367.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2539, allocations: 53.31 MB / 420.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006158/0.26, allocations: 4.557 MB / 425.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2621, allocations: 1.822 MB / 427 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.2622, allocations: 3.938 kB / 427 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.2624, allocations: 35.75 kB / 427.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.2628, allocations: 131.2 kB / 427.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.2635, allocations: 250 kB / 427.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.2639, allocations: 286.9 kB / 427.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.2639, allocations: 21.05 kB / 427.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.2642, allocations: 135.5 kB / 427.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.2643, allocations: 87.59 kB / 427.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.2644, allocations: 8 kB / 428 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.2647, allocations: 103.9 kB / 428.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.2648, allocations: 39.78 kB / 428.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2649, allocations: 79.7 kB / 428.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.2653, allocations: 223.2 kB / 428.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2653, allocations: 0 / 428.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2653, allocations: 0 / 428.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2653, allocations: 4 kB / 428.4 MB, free: 0.5586 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.001102/0.2664, allocations: 498.9 kB / 428.9 MB, free: 20 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2664, allocations: 12.03 kB / 428.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.2666, allocations: 20.92 kB / 428.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.267, allocations: 216.1 kB / 429.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.267, allocations: 8.656 kB / 429.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2671, allocations: 12.38 kB / 429.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.2675, allocations: 217.6 kB / 429.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2676, allocations: 4 kB / 429.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.2676, allocations: 8 kB / 429.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2676, allocations: 7.938 kB / 429.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.268, allocations: 151.8 kB / 429.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2694, allocations: 0.9364 MB / 430.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.2698, allocations: 154.6 kB / 430.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.27, allocations: 52.83 kB / 430.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/0.2706, allocations: 0.4993 MB / 431.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2706, allocations: 34.56 kB / 431.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.2706, allocations: 8 kB / 431.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002681/0.2733, allocations: 0.7633 MB / 432 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2733, allocations: 55.41 kB / 432 MB, free: 12.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2735, allocations: 163 kB / 432.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2735, allocations: 29.7 kB / 432.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.2736, allocations: 148.2 kB / 432.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.2737, allocations: 75.38 kB / 432.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.2738, allocations: 53.7 kB / 432.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2739, allocations: 322.8 kB / 432.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.2741, allocations: 83.94 kB / 432.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.2745, allocations: 189.6 kB / 433.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.2751, allocations: 298.7 kB / 433.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2751, allocations: 4 kB / 433.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007099/0.2758, allocations: 320.5 kB / 433.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2758, allocations: 8 kB / 433.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2758, allocations: 3.938 kB / 433.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2758, allocations: 8 kB / 433.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.2762, allocations: 87.81 kB / 433.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2762, allocations: 8.281 kB / 433.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2765, allocations: 19.98 kB / 433.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.2765, allocations: 16 kB / 433.8 MB, free: 10.66 MB / 350.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.0001302/0.2766, allocations: 137.7 kB / 434 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.2767, allocations: 19.84 kB / 434 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.2773, allocations: 234.7 kB / 434.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2773, allocations: 4 kB / 434.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2773, allocations: 4 kB / 434.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2773, allocations: 0 / 434.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2787, allocations: 0.6032 MB / 434.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2787, allocations: 0 / 434.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.279, allocations: 51.89 kB / 434.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.279, allocations: 8.125 kB / 434.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.279, allocations: 8 kB / 434.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.279, allocations: 0 / 434.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.279, allocations: 7.938 kB / 434.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.2799, allocations: 409.8 kB / 435.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.28, allocations: 109 kB / 435.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.28, allocations: 4 kB / 435.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.2803, allocations: 23.98 kB / 435.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.2803, allocations: 11.98 kB / 435.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.2803, allocations: 8 kB / 435.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.407e-05/0.2804, allocations: 111.2 kB / 435.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2804, allocations: 0 / 435.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.2808, allocations: 63.94 kB / 435.6 MB, free: 8.746 MB / 350.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.0002284/0.2811, allocations: 139.1 kB / 435.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.2816, allocations: 208.5 kB / 436 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2816, allocations: 4.062 kB / 436 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.2819, allocations: 87.2 kB / 436 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.2823, allocations: 39.77 kB / 436.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2834, allocations: 491.9 kB / 436.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2837, allocations: 0.7168 MB / 437.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.2839, allocations: 45.94 kB / 437.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.66e-05/0.284, allocations: 27.36 kB / 437.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.284, allocations: 0 / 437.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of Templates: time 0.00709/0.2911, allocations: 2.728 MB / 440.1 MB, free: 4.223 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches