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.001455/0.001455, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.001725/0.001725, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001585/0.001585, allocations: 51.84 kB / 378.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006362/0.2699, allocations: 4.282 MB / 435.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.272, allocations: 1.619 MB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.272, allocations: 0 / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.2723, allocations: 39.7 kB / 437.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.2727, allocations: 123.2 kB / 437.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.2733, allocations: 257.4 kB / 437.9 MB, free: 416 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.2737, allocations: 290.9 kB / 438.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.2738, allocations: 13.27 kB / 438.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.2741, allocations: 139.5 kB / 438.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2742, allocations: 79.66 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.2743, allocations: 12 kB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.2745, allocations: 95.88 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.2746, allocations: 39.89 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2747, allocations: 67.72 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.2751, allocations: 225.5 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.2751, allocations: 0 / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2751, allocations: 0 / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2752, allocations: 0 / 438.8 MB, free: 15.47 MB / 350.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.0009804/0.2761, allocations: 425.8 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2762, allocations: 8.031 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2764, allocations: 24.88 kB / 439.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.2767, allocations: 146.3 kB / 439.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2767, allocations: 16.64 kB / 439.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.2767, allocations: 12.38 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.2773, allocations: 375.8 kB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2773, allocations: 7.938 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.2773, allocations: 11.94 kB / 439.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2773, allocations: 4 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.2777, allocations: 148.6 kB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.2792, allocations: 0.8407 MB / 440.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.2796, allocations: 146.7 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.2797, allocations: 52.83 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004874/0.2802, allocations: 328.1 kB / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2803, allocations: 38.56 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.2803, allocations: 0 / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002709/0.283, allocations: 0.6945 MB / 442.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.283, allocations: 51.41 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.2832, allocations: 163.9 kB / 442.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.2832, allocations: 37.64 kB / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.2834, allocations: 152 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/0.2834, allocations: 67.42 kB / 442.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2836, allocations: 61.64 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2837, allocations: 326.8 kB / 442.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.284, allocations: 87.94 kB / 443 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.2844, allocations: 190.7 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.285, allocations: 297.4 kB / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.285, allocations: 0 / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007398/0.2857, allocations: 324.1 kB / 443.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2857, allocations: 8 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2857, allocations: 4 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2858, allocations: 4 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.2861, allocations: 83.89 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.2861, allocations: 7.938 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.2864, allocations: 20.2 kB / 443.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2864, allocations: 19.98 kB / 443.9 MB, free: 9.977 MB / 350.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.0001503/0.2866, allocations: 133.7 kB / 444 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.2866, allocations: 19.84 kB / 444.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.2873, allocations: 250.5 kB / 444.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2873, allocations: 4 kB / 444.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2873, allocations: 4 kB / 444.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2873, allocations: 0 / 444.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.2886, allocations: 0.5163 MB / 444.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2886, allocations: 8.125 kB / 444.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.2889, allocations: 51.89 kB / 444.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2889, allocations: 4 kB / 444.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2889, allocations: 7.984 kB / 444.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2889, allocations: 4 kB / 444.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2889, allocations: 0 / 444.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.2898, allocations: 413.7 kB / 445.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.2899, allocations: 31.91 kB / 445.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.29, allocations: 7.938 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.2902, allocations: 15.98 kB / 445.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.2902, allocations: 15.91 kB / 445.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.2902, allocations: 12 kB / 445.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.2903, allocations: 119 kB / 445.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2903, allocations: 0 / 445.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.2907, allocations: 63.94 kB / 445.6 MB, free: 8.234 MB / 350.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.0002049/0.2909, allocations: 131.1 kB / 445.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.2915, allocations: 207.7 kB / 445.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.2916, allocations: 0 / 445.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.2918, allocations: 92.81 kB / 446 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2922, allocations: 35.97 kB / 446 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2933, allocations: 489.4 kB / 446.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2934, allocations: 107.3 kB / 446.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.2936, allocations: 45.94 kB / 446.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.2937, allocations: 23.42 kB / 446.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2937, allocations: 0 / 446.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of Templates: time 0.00679/0.3005, allocations: 2.893 MB / 449.6 MB, free: 4.203 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.460810206830502]