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.001073/0.001073, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002311, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007262/0.0007262, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009547/0.001681, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9432/0.9432, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08981/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.614e-06/1.614e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.845e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005411/0.00543, allocations: 4.685 MB / 249.4 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.007483, allocations: 1.833 MB / 251.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.007556, allocations: 4 kB / 251.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.007729, allocations: 43.69 kB / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.00804, allocations: 127.1 kB / 251.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.008613, allocations: 251.2 kB / 251.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.008975, allocations: 298.7 kB / 251.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.952e-05/0.009005, allocations: 5.969 kB / 251.9 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.009304, allocations: 175.6 kB / 252.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.009415, allocations: 63.81 kB / 252.2 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.009441, allocations: 8 kB / 252.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.009681, allocations: 111.8 kB / 252.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.00974, allocations: 19.94 kB / 252.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.009805, allocations: 51.88 kB / 252.3 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.01009, allocations: 175.5 kB / 252.5 MB, free: 6.383 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.01011, allocations: 3.984 kB / 252.5 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01011, allocations: 0 / 252.5 MB, free: 6.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01012, allocations: 0 / 252.5 MB, free: 6.379 MB / 250.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.0007643/0.01088, allocations: 0.4972 MB / 253 MB, free: 5.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.01091, allocations: 15.97 kB / 253 MB, free: 5.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.01111, allocations: 44.78 kB / 253.1 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.01136, allocations: 149.5 kB / 253.2 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.01137, allocations: 8.656 kB / 253.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.01141, allocations: 20.38 kB / 253.2 MB, free: 5.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.01172, allocations: 339.5 kB / 253.6 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01174, allocations: 4.125 kB / 253.6 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.01176, allocations: 16.12 kB / 253.6 MB, free: 5.164 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01177, allocations: 4 kB / 253.6 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01189, allocations: 78.7 kB / 253.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.01272, allocations: 0.7444 MB / 254.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.01292, allocations: 145.2 kB / 254.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.01297, allocations: 28.78 kB / 254.6 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.01332, allocations: 338.3 kB / 254.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.01334, allocations: 38.56 kB / 255 MB, free: 3.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.01334, allocations: 0 / 255 MB, free: 3.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.00167/0.01501, allocations: 0.6334 MB / 255.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.01505, allocations: 55.41 kB / 255.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01515, allocations: 162.6 kB / 255.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01517, allocations: 25.7 kB / 255.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.01524, allocations: 148.1 kB / 256 MB, free: 2.645 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.0153, allocations: 79.3 kB / 256.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.01538, allocations: 57.64 kB / 256.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.01547, allocations: 330.7 kB / 256.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.01554, allocations: 38.81 kB / 256.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.01566, allocations: 154 kB / 256.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.0159, allocations: 226.1 kB / 256.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0159, allocations: 4 kB / 256.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002684/0.01617, allocations: 204.4 kB / 257 MB, free: 1.453 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.01619, allocations: 8.031 kB / 257.1 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01619, allocations: 7.938 kB / 257.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.01621, allocations: 8 kB / 257.1 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.01651, allocations: 91.88 kB / 257.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01652, allocations: 7.938 kB / 257.2 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01665, allocations: 15.94 kB / 257.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.01667, allocations: 11.98 kB / 257.2 MB, free: 1.305 MB / 250.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 9.046e-05/0.01676, allocations: 128.6 kB / 257.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.0168, allocations: 19.98 kB / 257.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.01705, allocations: 150.6 kB / 257.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01705, allocations: 0 / 257.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01705, allocations: 4 kB / 257.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01705, allocations: 3.938 kB / 257.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.01766, allocations: 418.2 kB / 257.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01767, allocations: 0 / 257.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.01788, allocations: 55.95 kB / 258 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.01793, allocations: 27.83 kB / 258 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.01793, allocations: 0 / 258 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.01795, allocations: 11.98 kB / 258 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01795, allocations: 0 / 258 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.01796, allocations: 7.938 kB / 258 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.01828, allocations: 329.1 kB / 258.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.01831, allocations: 7.984 kB / 258.3 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.01844, allocations: 8 kB / 258.3 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.01847, allocations: 19.91 kB / 258.4 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01848, allocations: 4 kB / 258.4 MB, free: 56 kB / 250.7 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.01852, allocations: 32.81 kB / 258.4 MB, free: 20 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01852, allocations: 0 / 258.4 MB, free: 20 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003422/0.01886, allocations: 64.09 kB / 258.5 MB, free: 15.95 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.0001808/0.01904, allocations: 104.4 kB / 258.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.01927, allocations: 146.4 kB / 258.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.01929, allocations: 8.172 kB / 258.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01939, allocations: 76.7 kB / 258.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01973, allocations: 75.81 kB / 258.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.02366, allocations: 416.1 kB / 259.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.02371, allocations: 72.34 kB / 259.3 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000204/0.02392, allocations: 45.88 kB / 259.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.02412, allocations: 95.33 kB / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.02412, allocations: 0 / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004989/0.02911, allocations: 2.997 MB / 262.5 MB, free: 11.9 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4388945139944553]