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.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.001225/0.001225, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001507/0.001507, allocations: 161 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9012/0.9012, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.992e-05, allocations: 6.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004463/0.004493, allocations: 4.188 MB / 303.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.005763, allocations: 1.623 MB / 305.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.005826, allocations: 0 / 305.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.006082, allocations: 43.69 kB / 305.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.006391, allocations: 135.1 kB / 305.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.006885, allocations: 251.2 kB / 305.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.007162, allocations: 294.8 kB / 306.2 MB, free: 380 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.00721, allocations: 9.297 kB / 306.2 MB, free: 372 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.007466, allocations: 163.6 kB / 306.4 MB, free: 208 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.007562, allocations: 83.77 kB / 306.4 MB, free: 124 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.007585, allocations: 11.94 kB / 306.5 MB, free: 112 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.007752, allocations: 91.81 kB / 306.6 MB, free: 20 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.007841, allocations: 35.89 kB / 306.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.0079, allocations: 63.83 kB / 306.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.008188, allocations: 223.4 kB / 306.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.008192, allocations: 0 / 306.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008193, allocations: 0 / 306.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.008198, allocations: 0 / 306.9 MB, free: 15.7 MB / 298.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.0009626/0.009161, allocations: 433.8 kB / 307.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.009197, allocations: 11.98 kB / 307.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.009317, allocations: 16.89 kB / 307.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.009538, allocations: 157.5 kB / 307.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.00955, allocations: 8.656 kB / 307.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.00958, allocations: 16.38 kB / 307.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.009928, allocations: 387.3 kB / 307.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.009943, allocations: 4.172 kB / 307.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.009966, allocations: 12.12 kB / 307.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.009973, allocations: 4 kB / 307.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.01019, allocations: 143.8 kB / 308 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.01105, allocations: 0.8406 MB / 308.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.0113, allocations: 150.4 kB / 309 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.01138, allocations: 48.83 kB / 309.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.01171, allocations: 324.2 kB / 309.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.01174, allocations: 38.56 kB / 309.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.01174, allocations: 0 / 309.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001496/0.01324, allocations: 0.6966 MB / 310.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.01327, allocations: 51.41 kB / 310.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.01338, allocations: 166.2 kB / 310.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.0134, allocations: 29.7 kB / 310.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.01346, allocations: 144.1 kB / 310.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.01351, allocations: 71.38 kB / 310.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.01358, allocations: 65.64 kB / 310.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.01366, allocations: 326.8 kB / 311 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01381, allocations: 87.69 kB / 311 MB, free: 11.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.01398, allocations: 197.4 kB / 311.2 MB, free: 11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.0143, allocations: 289.5 kB / 311.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01431, allocations: 3.938 kB / 311.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003984/0.0147, allocations: 321.3 kB / 311.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.01472, allocations: 11.94 kB / 311.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01473, allocations: 0 / 311.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01475, allocations: 8 kB / 311.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.01493, allocations: 83.83 kB / 311.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01494, allocations: 7.984 kB / 311.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01504, allocations: 24.27 kB / 312 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.01507, allocations: 12 kB / 312 MB, free: 10.2 MB / 298.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.0001019/0.01517, allocations: 133.7 kB / 312.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.0152, allocations: 19.84 kB / 312.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.01561, allocations: 246.5 kB / 312.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01561, allocations: 4 kB / 312.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01562, allocations: 0 / 312.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.01562, allocations: 0 / 312.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.01637, allocations: 0.5287 MB / 312.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01637, allocations: 0 / 312.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.0165, allocations: 51.91 kB / 313 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.01651, allocations: 4 kB / 313 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.01652, allocations: 11.98 kB / 313 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01653, allocations: 0 / 313 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01653, allocations: 4 kB / 313 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.01703, allocations: 407.2 kB / 313.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.01705, allocations: 11.94 kB / 313.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.01709, allocations: 4 kB / 313.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.0172, allocations: 11.98 kB / 313.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.01723, allocations: 19.92 kB / 313.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.01725, allocations: 20.05 kB / 313.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.0173, allocations: 112.1 kB / 313.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0173, allocations: 0 / 313.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.01758, allocations: 60 kB / 313.6 MB, free: 8.484 MB / 298.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.0002399/0.01782, allocations: 135 kB / 313.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.0185, allocations: 223.6 kB / 314 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01851, allocations: 0.9375 kB / 314 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.01863, allocations: 88.08 kB / 314 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01893, allocations: 43.75 kB / 314.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.01967, allocations: 439.3 kB / 314.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.417e-05/0.01974, allocations: 107.2 kB / 314.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.01982, allocations: 32.48 kB / 314.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01982, allocations: 0 / 314.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of Templates: time 0.003791/0.02361, allocations: 2.741 MB / 317.4 MB, free: 4.613 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.549515378661454]