Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 106.1 kB / 17.72 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 187.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 52.34 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 46.62 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005972/0.1154, allocations: 4.487 MB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2152/0.3307, allocations: 1.809 MB / 381.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3308, allocations: 1.375 kB / 381.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.3312, allocations: 41.77 kB / 381.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.3317, allocations: 121.8 kB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.3323, allocations: 252 kB / 381.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.3326, allocations: 285.8 kB / 382.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.3327, allocations: 15.38 kB / 382.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.3329, allocations: 133 kB / 382.2 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3331, allocations: 82.45 kB / 382.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3331, allocations: 8.25 kB / 382.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.3333, allocations: 99.62 kB / 382.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.3334, allocations: 36.81 kB / 382.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3335, allocations: 73.27 kB / 382.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.334, allocations: 211.5 kB / 382.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.334, allocations: 0.6562 kB / 382.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3341, allocations: 0.6875 kB / 382.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3341, allocations: 4 kB / 382.8 MB, free: 9.461 MB / 318.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.001021/0.3351, allocations: 487.8 kB / 383.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3352, allocations: 9.688 kB / 383.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.3355, allocations: 23.56 kB / 383.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3357, allocations: 213.8 kB / 383.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3358, allocations: 10.28 kB / 383.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.3358, allocations: 12.84 kB / 383.5 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.3362, allocations: 215.4 kB / 383.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3363, allocations: 1.609 kB / 383.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.3363, allocations: 10.34 kB / 383.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3363, allocations: 5.562 kB / 383.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3367, allocations: 156.5 kB / 383.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.338, allocations: 0.9465 MB / 384.8 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.3384, allocations: 149.8 kB / 385 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3386, allocations: 55.59 kB / 385 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.339, allocations: 0.5026 MB / 385.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.3391, allocations: 35.81 kB / 385.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.3391, allocations: 4 kB / 385.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00254/0.3416, allocations: 0.7701 MB / 386.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3417, allocations: 55.62 kB / 386.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3418, allocations: 150.6 kB / 386.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3419, allocations: 31.45 kB / 386.6 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.3419, allocations: 140.6 kB / 386.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.342, allocations: 76.3 kB / 386.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3421, allocations: 59.61 kB / 386.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3422, allocations: 327.7 kB / 387.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.3425, allocations: 81.33 kB / 387.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.3429, allocations: 192.3 kB / 387.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.3436, allocations: 301.7 kB / 387.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3436, allocations: 1.25 kB / 387.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008449/0.3444, allocations: 319.1 kB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3445, allocations: 6.766 kB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3445, allocations: 4.688 kB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.257e-05/0.3445, allocations: 4.5 kB / 388 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.345, allocations: 86 kB / 388.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.345, allocations: 6.859 kB / 388.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.3453, allocations: 20.66 kB / 388.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.3453, allocations: 16.36 kB / 388.2 MB, free: 6.078 MB / 318.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.0001703/0.3455, allocations: 143.1 kB / 388.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3456, allocations: 11.83 kB / 388.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.3464, allocations: 248.2 kB / 388.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3465, allocations: 2.219 kB / 388.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3465, allocations: 0.875 kB / 388.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3465, allocations: 1.844 kB / 388.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3481, allocations: 0.5895 MB / 389.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3481, allocations: 9.281 kB / 389.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.3484, allocations: 48.7 kB / 389.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.3484, allocations: 1.5 kB / 389.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.3485, allocations: 14.41 kB / 389.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.3485, allocations: 5.969 kB / 389.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3485, allocations: 1.344 kB / 389.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.3494, allocations: 405.3 kB / 389.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.3495, allocations: 90.95 kB / 389.7 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3495, allocations: 9.203 kB / 389.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.3498, allocations: 18.42 kB / 389.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.3498, allocations: 19.52 kB / 389.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3499, allocations: 9.078 kB / 389.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.761e-05/0.35, allocations: 111.5 kB / 389.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.35, allocations: 0 / 389.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.3505, allocations: 63.84 kB / 390 MB, free: 5.031 MB / 318.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.0002587/0.3507, allocations: 127.9 kB / 390.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.3514, allocations: 223.3 kB / 390.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3514, allocations: 0 / 390.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.3517, allocations: 91.95 kB / 390.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3521, allocations: 38.61 kB / 390.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3533, allocations: 480 kB / 390.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3535, allocations: 0.7206 MB / 391.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.3537, allocations: 46.27 kB / 391.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.3538, allocations: 25.16 kB / 391.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3538, allocations: 0 / 391.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of Templates: time 0.007236/0.3611, allocations: 2.731 MB / 394.4 MB, free: 3.578 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches