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.001898/0.001898, allocations: 84.06 kB / 21.43 MB, free: 288 kB / 14.72 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.002437/0.002437, allocations: 168.2 kB / 24.71 MB, free: 3.539 MB / 14.72 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 1.328/1.328, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.305e-06/2.305e-06, allocations: 0 / 298.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.278e-05, allocations: 2.281 kB / 298.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006959/0.006992, allocations: 4.199 MB / 303.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.009247, allocations: 1.619 MB / 304.7 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.009339, allocations: 4 kB / 304.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.009637, allocations: 39.73 kB / 304.8 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.01007, allocations: 131.1 kB / 304.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.01088, allocations: 259.1 kB / 305.2 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.01128, allocations: 298.7 kB / 305.5 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.01132, allocations: 5.312 kB / 305.5 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.01168, allocations: 175.6 kB / 305.6 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.01182, allocations: 71.8 kB / 305.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.01185, allocations: 12 kB / 305.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.01209, allocations: 95.73 kB / 305.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.01219, allocations: 39.89 kB / 305.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.01228, allocations: 55.91 kB / 305.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.01274, allocations: 223.3 kB / 306.1 MB, free: 1.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01274, allocations: 0 / 306.1 MB, free: 1.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01275, allocations: 4 kB / 306.1 MB, free: 1.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.01275, allocations: 0 / 306.1 MB, free: 1.602 MB / 286.1 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.001039/0.01379, allocations: 425.8 kB / 306.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.01383, allocations: 11.98 kB / 306.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.01403, allocations: 20.88 kB / 306.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.01434, allocations: 149.6 kB / 306.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.01436, allocations: 12.66 kB / 306.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.0144, allocations: 12.38 kB / 306.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.01497, allocations: 379.3 kB / 307.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01499, allocations: 4.125 kB / 307.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.01503, allocations: 12.12 kB / 307.1 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.01504, allocations: 4 kB / 307.1 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.01543, allocations: 147.8 kB / 307.3 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.01688, allocations: 0.8444 MB / 308.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.01732, allocations: 142.8 kB / 308.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.01748, allocations: 52.81 kB / 308.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.01798, allocations: 320.2 kB / 308.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.01802, allocations: 38.56 kB / 308.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.01802, allocations: 0 / 308.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002807/0.02083, allocations: 0.7002 MB / 309.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.02088, allocations: 51.41 kB / 309.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.02105, allocations: 166.2 kB / 309.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.02108, allocations: 29.7 kB / 309.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.02118, allocations: 144.1 kB / 309.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.02127, allocations: 79.36 kB / 309.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02137, allocations: 57.66 kB / 309.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.02152, allocations: 330.8 kB / 310.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.02181, allocations: 87.7 kB / 310.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.02219, allocations: 193.4 kB / 310.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.0229, allocations: 293.4 kB / 310.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.02291, allocations: 4 kB / 310.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007965/0.0237, allocations: 317.3 kB / 311.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.02372, allocations: 11.94 kB / 311.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.02373, allocations: 4 kB / 311.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.02375, allocations: 7.984 kB / 311.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.02418, allocations: 83.83 kB / 311.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.0242, allocations: 8.281 kB / 311.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.02444, allocations: 19.98 kB / 311.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.02448, allocations: 19.94 kB / 311.2 MB, free: 12.11 MB / 302.1 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.0001472/0.02462, allocations: 137.7 kB / 311.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.02469, allocations: 19.84 kB / 311.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.02542, allocations: 238.5 kB / 311.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.02542, allocations: 0 / 311.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.02544, allocations: 7.984 kB / 311.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02544, allocations: 0 / 311.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.02682, allocations: 0.5247 MB / 312.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02683, allocations: 0 / 312.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.02715, allocations: 55.89 kB / 312.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.02715, allocations: 0 / 312.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.02717, allocations: 8 kB / 312.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02718, allocations: 0 / 312.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.02718, allocations: 4 kB / 312.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.02817, allocations: 411.1 kB / 312.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.0282, allocations: 11.94 kB / 312.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.02824, allocations: 8 kB / 312.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.0285, allocations: 11.98 kB / 312.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.02853, allocations: 23.97 kB / 312.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.02856, allocations: 8 kB / 312.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.02865, allocations: 112.1 kB / 312.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02865, allocations: 0 / 312.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.02905, allocations: 60 kB / 312.8 MB, free: 10.39 MB / 302.1 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.0002427/0.02929, allocations: 139.1 kB / 313 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00066/0.02995, allocations: 208.6 kB / 313.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.02995, allocations: 0 / 313.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.03023, allocations: 95.81 kB / 313.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.03066, allocations: 46.45 kB / 313.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.03171, allocations: 425.7 kB / 313.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.03186, allocations: 115.2 kB / 313.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000217/0.03208, allocations: 45.92 kB / 313.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.03218, allocations: 24.48 kB / 313.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.03218, allocations: 0 / 313.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007076/0.03925, allocations: 2.686 MB / 316.6 MB, free: 6.566 MB / 302.1 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.2998397797346115]