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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002536/0.002536, allocations: 99.53 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002694/0.002694, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.572e-05, allocations: 2.312 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006843/0.006869, allocations: 4.6 MB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.00942, allocations: 1.798 MB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.009479, allocations: 4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.009733, allocations: 43.69 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.01012, allocations: 131.1 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.0108, allocations: 255.2 kB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.01122, allocations: 298.6 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.01126, allocations: 9.297 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.01189, allocations: 171.6 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.01204, allocations: 71.78 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.01208, allocations: 8 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.01235, allocations: 99.8 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.01243, allocations: 31.89 kB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.01254, allocations: 67.89 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.01299, allocations: 239.2 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.013, allocations: 0 / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.013, allocations: 0 / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.013, allocations: 0 / 280 MB, free: 10.01 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.0009786/0.01398, allocations: 0.5037 MB / 280.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.01402, allocations: 11.98 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.01425, allocations: 48.66 kB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.0145, allocations: 152.5 kB / 280.7 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.01452, allocations: 12.66 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.01457, allocations: 28.27 kB / 280.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.01512, allocations: 376.9 kB / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01513, allocations: 192 / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.01516, allocations: 12.12 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.01517, allocations: 4 kB / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.01551, allocations: 135.8 kB / 281.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.01711, allocations: 1.131 MB / 282.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.01751, allocations: 139.3 kB / 282.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.01764, allocations: 43.67 kB / 282.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.01822, allocations: 419.9 kB / 283 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.01825, allocations: 37.39 kB / 283 MB, free: 6.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01825, allocations: 0 / 283 MB, free: 6.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.002388/0.02064, allocations: 0.6489 MB / 283.6 MB, free: 6.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.02071, allocations: 59.39 kB / 283.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.02093, allocations: 231.9 kB / 283.9 MB, free: 5.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.02097, allocations: 33.7 kB / 284 MB, free: 5.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.0211, allocations: 190.8 kB / 284.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.02119, allocations: 83.36 kB / 284.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.02131, allocations: 71.36 kB / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.02157, allocations: 0.4962 MB / 284.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.0218, allocations: 75.95 kB / 284.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.02224, allocations: 234.6 kB / 285.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.02283, allocations: 330.7 kB / 285.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.02283, allocations: 0 / 285.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006776/0.02351, allocations: 316.5 kB / 285.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.02353, allocations: 8 kB / 285.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.02354, allocations: 4.469 kB / 285.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.02356, allocations: 11.94 kB / 285.7 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.02394, allocations: 75.89 kB / 285.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.02395, allocations: 4 kB / 285.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.02415, allocations: 15.98 kB / 285.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.02419, allocations: 16 kB / 285.9 MB, free: 3.645 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 0.0001698/0.02436, allocations: 188.4 kB / 286 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.02443, allocations: 19.91 kB / 286.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.02505, allocations: 226.6 kB / 286.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.02506, allocations: 7.938 kB / 286.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.02506, allocations: 0 / 286.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02507, allocations: 0 / 286.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.02637, allocations: 0.5742 MB / 286.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02638, allocations: 0 / 286.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.02667, allocations: 56.03 kB / 286.9 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.02668, allocations: 4 kB / 286.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.0267, allocations: 7.984 kB / 286.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.0267, allocations: 0 / 286.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.02671, allocations: 4 kB / 286.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.02754, allocations: 450.8 kB / 287.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.02764, allocations: 35.88 kB / 287.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.02767, allocations: 0 / 287.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.02788, allocations: 12.03 kB / 287.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.02792, allocations: 15.97 kB / 287.4 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.02795, allocations: 12 kB / 287.5 MB, free: 1.938 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.02808, allocations: 163.7 kB / 287.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02808, allocations: 0 / 287.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.02849, allocations: 63.94 kB / 287.7 MB, free: 1.715 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.0002244/0.02872, allocations: 127.2 kB / 287.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.02927, allocations: 219.3 kB / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.02927, allocations: 0 / 288 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.02951, allocations: 92.52 kB / 288.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.02993, allocations: 56.12 kB / 288.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.03095, allocations: 435.1 kB / 288.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.03107, allocations: 103.3 kB / 288.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.03129, allocations: 41.95 kB / 288.7 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.03139, allocations: 24.48 kB / 288.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03139, allocations: 0 / 288.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of Templates: time 0.007332/0.03872, allocations: 2.732 MB / 291.5 MB, free: 13.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.678495194064453]