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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003282/0.003282, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.549/1.549, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 55.92 kB / 347.6 MB, free: 9.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2567, allocations: 49.16 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004723/0.2614, allocations: 4.513 MB / 401.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.263, allocations: 1.837 MB / 403.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.2631, allocations: 1.125 kB / 403.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.2633, allocations: 42.55 kB / 403.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.2636, allocations: 122.6 kB / 403.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.2641, allocations: 257.2 kB / 403.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2644, allocations: 298.5 kB / 403.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.2645, allocations: 7.25 kB / 403.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.2647, allocations: 134.6 kB / 404 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2648, allocations: 78.48 kB / 404.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.2648, allocations: 8.906 kB / 404.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.2651, allocations: 101.3 kB / 404.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.2651, allocations: 43.59 kB / 404.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.2652, allocations: 71.31 kB / 404.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.2655, allocations: 217.8 kB / 404.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2656, allocations: 4 kB / 404.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2656, allocations: 0 / 404.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2656, allocations: 0 / 404.5 MB, free: 4.324 MB / 318.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.0008285/0.2664, allocations: 409.3 kB / 404.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2664, allocations: 14.45 kB / 404.9 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.2666, allocations: 31.12 kB / 404.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.2668, allocations: 152.3 kB / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2668, allocations: 10.78 kB / 405.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2669, allocations: 18.94 kB / 405.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.2673, allocations: 219.3 kB / 405.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2673, allocations: 0 / 405.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.2673, allocations: 7.656 kB / 405.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2673, allocations: 4.062 kB / 405.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.2677, allocations: 153.2 kB / 405.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2688, allocations: 0.8961 MB / 406.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2692, allocations: 143.9 kB / 406.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2693, allocations: 50.17 kB / 406.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.2697, allocations: 341.4 kB / 406.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2697, allocations: 40.78 kB / 407 MB, free: 2.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.2697, allocations: 1.281 kB / 407 MB, free: 2.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002482/0.2722, allocations: 0.6938 MB / 407.7 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.2722, allocations: 58.09 kB / 407.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.2723, allocations: 152.9 kB / 407.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2723, allocations: 25.7 kB / 407.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.2724, allocations: 150 kB / 408 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.2724, allocations: 70.92 kB / 408.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.2725, allocations: 63.28 kB / 408.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.2726, allocations: 325.6 kB / 408.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.2728, allocations: 87.92 kB / 408.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.2731, allocations: 190.2 kB / 408.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.2736, allocations: 296.8 kB / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2736, allocations: 1.25 kB / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006742/0.2743, allocations: 331.4 kB / 409.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2743, allocations: 6.719 kB / 409.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2743, allocations: 3.531 kB / 409.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2743, allocations: 5.438 kB / 409.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.2747, allocations: 82.25 kB / 409.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2747, allocations: 14.86 kB / 409.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.2749, allocations: 16.06 kB / 409.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.275, allocations: 16.86 kB / 409.5 MB, free: 0.7695 MB / 318.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 8.987e-05/0.2751, allocations: 139.2 kB / 409.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2751, allocations: 20.52 kB / 409.7 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/0.2757, allocations: 236.4 kB / 409.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2757, allocations: 2.75 kB / 409.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2758, allocations: 0.6562 kB / 409.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2758, allocations: 2.078 kB / 409.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2769, allocations: 0.5754 MB / 410.5 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2769, allocations: 1.984 kB / 410.5 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.2772, allocations: 55.36 kB / 410.5 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2772, allocations: 3.359 kB / 410.5 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2773, allocations: 8.203 kB / 410.5 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2773, allocations: 10 kB / 410.6 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2773, allocations: 2.75 kB / 410.6 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.2782, allocations: 406.4 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.2782, allocations: 18.47 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2782, allocations: 7.078 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2785, allocations: 18.86 kB / 411 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.2785, allocations: 15.75 kB / 411 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.2785, allocations: 13.22 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.616e-05/0.2786, allocations: 107.6 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2786, allocations: 0 / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.279, allocations: 59.48 kB / 411.2 MB, free: 15.71 MB / 334.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.0002279/0.2792, allocations: 128 kB / 411.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.2799, allocations: 225.5 kB / 411.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2799, allocations: 0 / 411.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.2801, allocations: 84.56 kB / 411.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2805, allocations: 38.61 kB / 411.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2816, allocations: 469.2 kB / 412.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.282, allocations: 0.7162 MB / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.2822, allocations: 46.22 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.2823, allocations: 28.23 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2823, allocations: 1.188 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of Templates: time 0.007169/0.2895, allocations: 2.903 MB / 415.8 MB, free: 13.04 MB / 334.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.631954068318009]