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.001067/0.001067, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00139/0.00139, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 1.073/1.073, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.465e-06/2.465e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.05e-05, allocations: 2.312 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007621/0.007652, allocations: 4.594 MB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.01029, allocations: 1.798 MB / 280.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.01042, allocations: 0 / 280.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.01075, allocations: 43.64 kB / 280.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.01123, allocations: 135 kB / 280.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007914/0.01202, allocations: 247.2 kB / 281 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.01254, allocations: 302.6 kB / 281.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.0126, allocations: 5.312 kB / 281.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.01306, allocations: 179.5 kB / 281.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.01323, allocations: 71.78 kB / 281.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.47e-05/0.01326, allocations: 12 kB / 281.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.01356, allocations: 83.88 kB / 281.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.01367, allocations: 39.89 kB / 281.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.01377, allocations: 63.89 kB / 281.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.01418, allocations: 207.3 kB / 281.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01418, allocations: 0 / 281.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.01418, allocations: 0 / 281.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01419, allocations: 4 kB / 281.9 MB, free: 12.65 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.000831/0.01502, allocations: 0.504 MB / 282.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01506, allocations: 12.02 kB / 282.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.01529, allocations: 44.72 kB / 282.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.01553, allocations: 148.4 kB / 282.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.01555, allocations: 12.66 kB / 282.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.01559, allocations: 20.33 kB / 282.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.01601, allocations: 357.1 kB / 283 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.01602, allocations: 192 / 283 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.01605, allocations: 12.12 kB / 283 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.01606, allocations: 3.938 kB / 283 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.01622, allocations: 88.55 kB / 283.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.01749, allocations: 1.084 MB / 284.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.01773, allocations: 111.3 kB / 284.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.01778, allocations: 27.67 kB / 284.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.01827, allocations: 412 kB / 284.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.01831, allocations: 41.38 kB / 284.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01831, allocations: 0 / 284.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001369/0.01968, allocations: 0.5169 MB / 285.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.01971, allocations: 51.41 kB / 285.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01989, allocations: 228.5 kB / 285.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.01992, allocations: 25.7 kB / 285.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.02005, allocations: 190.8 kB / 285.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.02013, allocations: 79.36 kB / 285.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.02024, allocations: 67.28 kB / 285.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.02044, allocations: 0.5 MB / 286.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.02054, allocations: 39.97 kB / 286.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.02074, allocations: 195.5 kB / 286.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.02106, allocations: 260.8 kB / 286.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02106, allocations: 0 / 286.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004263/0.02149, allocations: 244.2 kB / 287.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.02151, allocations: 8 kB / 287.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.02152, allocations: 7.938 kB / 287.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.02154, allocations: 4 kB / 287.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.02181, allocations: 83.83 kB / 287.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.02181, allocations: 4 kB / 287.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.02198, allocations: 20.31 kB / 287.3 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.02202, allocations: 19.98 kB / 287.3 MB, free: 6.82 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.0001481/0.02217, allocations: 172.5 kB / 287.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.02223, allocations: 19.95 kB / 287.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.02257, allocations: 170.7 kB / 287.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02258, allocations: 0 / 287.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.02258, allocations: 3.938 kB / 287.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.02259, allocations: 3.984 kB / 287.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.0234, allocations: 0.5006 MB / 288.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.0234, allocations: 0 / 288.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.02358, allocations: 47.91 kB / 288.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.02359, allocations: 4 kB / 288.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.02361, allocations: 8 kB / 288.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.02361, allocations: 0 / 288.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.02361, allocations: 8.062 kB / 288.2 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.02405, allocations: 374.1 kB / 288.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.02412, allocations: 27.88 kB / 288.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.02416, allocations: 8 kB / 288.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.0243, allocations: 4 kB / 288.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.02434, allocations: 19.91 kB / 288.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.02436, allocations: 8 kB / 288.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.02444, allocations: 151.2 kB / 288.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02444, allocations: 4 kB / 288.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000457/0.0249, allocations: 59.94 kB / 288.9 MB, free: 5.145 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.0002495/0.02515, allocations: 123.2 kB / 289 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.0255, allocations: 164 kB / 289.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.0255, allocations: 0 / 289.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.02561, allocations: 71.58 kB / 289.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.02605, allocations: 51.91 kB / 289.3 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.02778, allocations: 419.2 kB / 289.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.02784, allocations: 72.33 kB / 289.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.028, allocations: 41.95 kB / 289.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.02819, allocations: 134.1 kB / 289.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.02819, allocations: 0 / 289.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of Templates: time 0.005088/0.03328, allocations: 3.077 MB / 293 MB, free: 0.9844 MB / 266.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.9649778730235994]