Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001829/0.001829, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.002131/0.002131, allocations: 153.1 kB / 24.26 MB, free: 156 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.477/1.477, allocations: 173.4 MB / 200.8 MB, free: 9.297 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.787e-05, allocations: 6.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004536/0.004564, allocations: 2.67 MB / 270 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.006879, allocations: 1.207 MB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.007021, allocations: 3.938 kB / 271.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.007533, allocations: 175.1 kB / 271.4 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.008031, allocations: 218.6 kB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.008487, allocations: 175.4 kB / 271.7 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.009152, allocations: 477.6 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.009338, allocations: 67.95 kB / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.009701, allocations: 255.4 kB / 272.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.009996, allocations: 171.6 kB / 272.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.01007, allocations: 28 kB / 272.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.01023, allocations: 71.92 kB / 272.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.01036, allocations: 83.67 kB / 272.9 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.01056, allocations: 131.7 kB / 273 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.01129, allocations: 494.3 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01129, allocations: 4 kB / 273.5 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01129, allocations: 0 / 273.5 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.0113, allocations: 0 / 273.5 MB, free: 0.5195 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001204/0.0125, allocations: 0.629 MB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01254, allocations: 8.922 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.01268, allocations: 72.66 kB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.0132, allocations: 280.5 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.01323, allocations: 20.88 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.01328, allocations: 24.38 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.01406, allocations: 0.597 MB / 275.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.01408, allocations: 7.875 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.01411, allocations: 8 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.01412, allocations: 4 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.01444, allocations: 145.9 kB / 275.3 MB, free: 14.56 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01589, allocations: 0.6458 MB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.01632, allocations: 178.5 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.01648, allocations: 68.83 kB / 276.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.01652, allocations: 11.98 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.01686, allocations: 186.7 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.01686, allocations: 0 / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009426/0.0178, allocations: 341.3 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002513/0.01806, allocations: 320.4 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.01859, allocations: 425.6 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.01863, allocations: 33.7 kB / 277.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.01882, allocations: 196.5 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.01891, allocations: 83.31 kB / 277.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.01901, allocations: 57.66 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.01922, allocations: 350.8 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.01937, allocations: 59.97 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.01984, allocations: 441 kB / 278.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.02017, allocations: 167.4 kB / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02017, allocations: 0 / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005503/0.02072, allocations: 286.7 kB / 279 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.02075, allocations: 11.94 kB / 279.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02075, allocations: 0 / 279.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.02091, allocations: 36.83 kB / 279.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.02114, allocations: 52.02 kB / 279.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.02292, allocations: 1.432 MB / 280.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.02313, allocations: 27.78 kB / 280.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.02315, allocations: 12.03 kB / 280.6 MB, free: 8.789 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.02337, allocations: 173.7 kB / 280.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.02345, allocations: 43.77 kB / 280.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.02403, allocations: 273.8 kB / 281.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.02403, allocations: 8.172 kB / 281.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.02403, allocations: 0 / 281.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000665/0.0247, allocations: 0.5894 MB / 281.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.02574, allocations: 0.6141 MB / 282.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02574, allocations: 0 / 282.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.02596, allocations: 43.97 kB / 282.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.02597, allocations: 4 kB / 282.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.02599, allocations: 11.94 kB / 282.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.02599, allocations: 3.938 kB / 282.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.026, allocations: 4 kB / 282.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.02669, allocations: 413.7 kB / 282.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.02683, allocations: 67.7 kB / 282.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.02688, allocations: 11.98 kB / 282.9 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.0271, allocations: 11.94 kB / 282.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.02715, allocations: 15.97 kB / 282.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.02717, allocations: 8 kB / 282.9 MB, free: 6.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.02754, allocations: 307.1 kB / 283.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02754, allocations: 4.062 kB / 283.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.02796, allocations: 95.89 kB / 283.3 MB, free: 5.934 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001952/0.02991, allocations: 443.3 kB / 283.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000678/0.03059, allocations: 310.2 kB / 284 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03059, allocations: 0 / 284 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.03077, allocations: 84.03 kB / 284.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.03135, allocations: 109.3 kB / 284.2 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.03285, allocations: 0.7424 MB / 285 MB, free: 4.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.03306, allocations: 185.1 kB / 285.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.03322, allocations: 46.94 kB / 285.2 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.0333, allocations: 32.5 kB / 285.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0333, allocations: 0 / 285.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of Templates: time 0.1067/0.14, allocations: 6.422 MB / 291.6 MB, free: 31.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.62332095799502]