Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.974/0.974, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.114e-05, allocations: 6.25 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004617/0.004648, allocations: 4.599 MB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.006214, allocations: 1.79 MB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.006282, allocations: 7.938 kB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.006503, allocations: 35.64 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.006784, allocations: 131.1 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.007212, allocations: 255.2 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.007488, allocations: 298.8 kB / 280.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.007527, allocations: 9.312 kB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.007782, allocations: 175.5 kB / 280.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.007862, allocations: 71.78 kB / 280.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.007879, allocations: 8 kB / 280.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.008022, allocations: 91.88 kB / 280.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.008077, allocations: 39.88 kB / 280.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.008129, allocations: 63.83 kB / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.00839, allocations: 203.4 kB / 281.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.008392, allocations: 0 / 281.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008393, allocations: 4 kB / 281.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.008397, allocations: 3.938 kB / 281.1 MB, free: 9.508 MB / 266.7 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.0006014/0.008998, allocations: 0.504 MB / 281.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.009036, allocations: 12.03 kB / 281.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.009189, allocations: 48.64 kB / 281.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.009364, allocations: 148.5 kB / 281.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.00938, allocations: 12.66 kB / 281.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.009415, allocations: 20.31 kB / 281.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.009844, allocations: 353.9 kB / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009856, allocations: 192 / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.009877, allocations: 12.12 kB / 282.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.009883, allocations: 4 kB / 282.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.009983, allocations: 87.78 kB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.01077, allocations: 1.084 MB / 283.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.01093, allocations: 111.3 kB / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.01096, allocations: 35.61 kB / 283.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.01129, allocations: 404 kB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.01131, allocations: 37.39 kB / 284 MB, free: 6.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.01131, allocations: 3.938 kB / 284 MB, free: 6.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.000899/0.01221, allocations: 0.5278 MB / 284.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.01224, allocations: 55.41 kB / 284.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.01233, allocations: 220.1 kB / 284.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.01234, allocations: 29.7 kB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.01241, allocations: 186.8 kB / 285 MB, free: 5.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.01245, allocations: 75.36 kB / 285.1 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.01251, allocations: 71.28 kB / 285.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01262, allocations: 0.5039 MB / 285.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.01267, allocations: 39.95 kB / 285.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01279, allocations: 203.2 kB / 285.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.01297, allocations: 250.2 kB / 286.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01297, allocations: 0 / 286.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002488/0.01322, allocations: 253.1 kB / 286.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01323, allocations: 4 kB / 286.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01324, allocations: 4 kB / 286.4 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.01325, allocations: 8.469 kB / 286.4 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01342, allocations: 87.83 kB / 286.5 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01343, allocations: 7.938 kB / 286.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.01351, allocations: 12 kB / 286.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01353, allocations: 8 kB / 286.5 MB, free: 3.676 MB / 266.7 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 8.553e-05/0.01362, allocations: 176.4 kB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01365, allocations: 23.91 kB / 286.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.01387, allocations: 170.6 kB / 286.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01387, allocations: 8 kB / 286.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01388, allocations: 3.938 kB / 286.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01388, allocations: 0 / 286.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.0144, allocations: 0.4889 MB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.0144, allocations: 0 / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.01452, allocations: 60.02 kB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01452, allocations: 7.938 kB / 287.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01454, allocations: 4 kB / 287.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01454, allocations: 7.938 kB / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01454, allocations: 0 / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.01482, allocations: 366.9 kB / 287.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.01486, allocations: 19.94 kB / 287.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.01488, allocations: 11.98 kB / 287.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.01497, allocations: 12.03 kB / 287.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.01499, allocations: 19.91 kB / 287.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.01501, allocations: 11.98 kB / 287.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.01506, allocations: 151 kB / 288 MB, free: 2.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 0 / 288 MB, free: 2.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.0153, allocations: 63.94 kB / 288.1 MB, free: 1.988 MB / 266.7 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.0001451/0.01544, allocations: 127.2 kB / 288.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.01563, allocations: 167.2 kB / 288.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01563, allocations: 0 / 288.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.01569, allocations: 67.44 kB / 288.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.01594, allocations: 50.55 kB / 288.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.01673, allocations: 415.2 kB / 288.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.01678, allocations: 80.23 kB / 289 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.0169, allocations: 45.88 kB / 289 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.01721, allocations: 126.1 kB / 289.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01721, allocations: 0 / 289.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of Templates: time 0.004441/0.02165, allocations: 3.019 MB / 292.1 MB, free: 13.87 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.694561838172376]