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.001038/0.001038, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001137/0.001137, allocations: 167.1 kB / 25.61 MB, free: 8.875 MB / 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 0.9183/0.9183, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.212e-06/1.212e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.436e-05, allocations: 4.609 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004052/0.004066, allocations: 4.602 MB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.005592, allocations: 1.796 MB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.005657, allocations: 3.938 kB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.005876, allocations: 43.64 kB / 280.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.006162, allocations: 123.1 kB / 280.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.006618, allocations: 255.2 kB / 280.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.006895, allocations: 302.5 kB / 281.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.006934, allocations: 5.312 kB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.00718, allocations: 175.5 kB / 281.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.007271, allocations: 67.8 kB / 281.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.00729, allocations: 12 kB / 281.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.007464, allocations: 95.86 kB / 281.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.007527, allocations: 35.89 kB / 281.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.007583, allocations: 63.88 kB / 281.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.007819, allocations: 207.3 kB / 281.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.00782, allocations: 3.938 kB / 281.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007821, allocations: 0 / 281.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.007825, allocations: 0 / 281.9 MB, free: 12.51 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.0005617/0.008386, allocations: 0.504 MB / 282.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.008417, allocations: 12.03 kB / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.008552, allocations: 44.7 kB / 282.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.008705, allocations: 152.4 kB / 282.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.008717, allocations: 12.59 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.008747, allocations: 24.33 kB / 282.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.008984, allocations: 345.1 kB / 282.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.008995, allocations: 4.125 kB / 282.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.009014, allocations: 16.12 kB / 283 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.009021, allocations: 8 kB / 283 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.009115, allocations: 75.86 kB / 283 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/0.009874, allocations: 1.08 MB / 284.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.01005, allocations: 119.2 kB / 284.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.01009, allocations: 35.67 kB / 284.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.0104, allocations: 408 kB / 284.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.01043, allocations: 33.39 kB / 284.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.01043, allocations: 4 kB / 284.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.000936/0.01136, allocations: 0.5184 MB / 285.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.01139, allocations: 51.41 kB / 285.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.01149, allocations: 226.8 kB / 285.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01151, allocations: 33.7 kB / 285.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.01158, allocations: 182.8 kB / 285.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01162, allocations: 79.36 kB / 285.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.01168, allocations: 67.28 kB / 285.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01179, allocations: 0.5 MB / 286.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.01184, allocations: 39.97 kB / 286.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.01195, allocations: 198.8 kB / 286.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.01213, allocations: 258.1 kB / 286.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01213, allocations: 0 / 286.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002569/0.01239, allocations: 249.4 kB / 287.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.0124, allocations: 7.984 kB / 287.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01241, allocations: 4 kB / 287.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01242, allocations: 8 kB / 287.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.0126, allocations: 75.84 kB / 287.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.0126, allocations: 15.92 kB / 287.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.808e-05/0.01269, allocations: 8 kB / 287.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01271, allocations: 12 kB / 287.2 MB, free: 6.695 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.0002176/0.01293, allocations: 184.6 kB / 287.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.01297, allocations: 15.95 kB / 287.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.01319, allocations: 177.1 kB / 287.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01319, allocations: 4 kB / 287.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01319, allocations: 3.938 kB / 287.6 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.0132, allocations: 4 kB / 287.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.0137, allocations: 0.4928 MB / 288.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.0137, allocations: 4 kB / 288.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.01382, allocations: 47.89 kB / 288.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01383, allocations: 7.938 kB / 288.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01384, allocations: 8 kB / 288.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01384, allocations: 0 / 288.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01384, allocations: 4 kB / 288.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.01412, allocations: 363 kB / 288.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.01416, allocations: 35.81 kB / 288.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01418, allocations: 4 kB / 288.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.01428, allocations: 11.98 kB / 288.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.0143, allocations: 11.98 kB / 288.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.01431, allocations: 11.98 kB / 288.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.01436, allocations: 148.8 kB / 288.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01436, allocations: 0 / 288.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.0146, allocations: 67.91 kB / 288.8 MB, free: 5.008 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.0001231/0.01472, allocations: 127.1 kB / 288.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.0149, allocations: 160.5 kB / 289.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.0149, allocations: 0 / 289.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.01497, allocations: 71.52 kB / 289.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.01521, allocations: 47.94 kB / 289.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.01597, allocations: 426.2 kB / 289.6 MB, free: 4.133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.01601, allocations: 72.33 kB / 289.7 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.01614, allocations: 41.89 kB / 289.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.0163, allocations: 134.1 kB / 289.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0163, allocations: 0 / 289.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of Templates: time 0.004147/0.02044, allocations: 3.063 MB / 292.9 MB, free: 0.8633 MB / 266.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","",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.56690437393263]