Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.002539/0.002539, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002961/0.002961, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.672e-05, allocations: 6.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007578/0.007605, allocations: 4.53 MB / 271.8 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.01, allocations: 1.802 MB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.01006, allocations: 4 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.01033, allocations: 31.77 kB / 273.7 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.01071, allocations: 131.1 kB / 273.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.01147, allocations: 255.1 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.01186, allocations: 294.8 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.0119, allocations: 9.312 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.01226, allocations: 167.6 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.0124, allocations: 71.78 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.01244, allocations: 8 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.01268, allocations: 103.7 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.01277, allocations: 35.89 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.01286, allocations: 55.91 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.01327, allocations: 227.3 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01327, allocations: 0 / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01327, allocations: 0 / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.01328, allocations: 4 kB / 275 MB, free: 15.02 MB / 266.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.0009791/0.01426, allocations: 0.5038 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.01429, allocations: 8.922 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.01453, allocations: 44.7 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.01479, allocations: 152.4 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.01481, allocations: 12.66 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.01486, allocations: 24.38 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.01541, allocations: 373.2 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.01542, allocations: 4.188 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.01545, allocations: 8.125 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.01546, allocations: 7.984 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.01579, allocations: 131.8 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.01735, allocations: 1.127 MB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.01774, allocations: 139.3 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.01787, allocations: 47.66 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.01843, allocations: 416 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.01847, allocations: 33.39 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.01847, allocations: 0 / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.002327/0.02079, allocations: 0.6573 MB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.02084, allocations: 51.41 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.02105, allocations: 233.1 kB / 278.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.02109, allocations: 29.7 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.02122, allocations: 194.8 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.0213, allocations: 75.39 kB / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.02142, allocations: 75.3 kB / 279.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.02168, allocations: 0.5001 MB / 279.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.0219, allocations: 71.91 kB / 279.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.02227, allocations: 242.4 kB / 280.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.02286, allocations: 330 kB / 280.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.02286, allocations: 4 kB / 280.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006856/0.02355, allocations: 317.1 kB / 280.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.02357, allocations: 7.938 kB / 280.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.02357, allocations: 4 kB / 280.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.0236, allocations: 8 kB / 280.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.02398, allocations: 83.77 kB / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.02399, allocations: 8.406 kB / 280.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.02419, allocations: 16 kB / 280.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.02423, allocations: 12 kB / 280.9 MB, free: 8.668 MB / 266.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.0002361/0.02446, allocations: 188.4 kB / 281.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.02453, allocations: 19.84 kB / 281.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.02516, allocations: 222.6 kB / 281.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.02516, allocations: 0 / 281.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.02516, allocations: 0 / 281.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.02518, allocations: 7.984 kB / 281.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.02648, allocations: 0.582 MB / 281.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.02649, allocations: 8 kB / 281.9 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.02679, allocations: 47.89 kB / 281.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.02679, allocations: 4 kB / 281.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.02682, allocations: 8 kB / 281.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.02682, allocations: 128 / 281.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.02683, allocations: 8 kB / 282 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008306/0.02766, allocations: 453.5 kB / 282.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.02768, allocations: 11.91 kB / 282.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.02774, allocations: 11.98 kB / 282.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.02795, allocations: 8 kB / 282.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.02799, allocations: 15.91 kB / 282.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.02801, allocations: 12 kB / 282.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.02813, allocations: 162.4 kB / 282.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02813, allocations: 0 / 282.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.02852, allocations: 63.94 kB / 282.7 MB, free: 6.75 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.0002635/0.02878, allocations: 135 kB / 282.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.02934, allocations: 215.4 kB / 283 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.02935, allocations: 4 kB / 283 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.02958, allocations: 99.45 kB / 283.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.03, allocations: 45.14 kB / 283.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.031, allocations: 423.5 kB / 283.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.03112, allocations: 103.5 kB / 283.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.03133, allocations: 45.94 kB / 283.7 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.03143, allocations: 28.48 kB / 283.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03143, allocations: 0 / 283.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Templates: time 0.007446/0.03888, allocations: 2.737 MB / 286.5 MB, free: 2.898 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.776320694945753]