Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.002638/0.002638, allocations: 99.53 kB / 21.73 MB, free: 2.684 MB / 18.57 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.002972/0.002972, allocations: 167.7 kB / 25.03 MB, free: 7.895 MB / 18.57 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.621/1.621, allocations: 158.6 MB / 186.8 MB, free: 2.875 MB / 170.7 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.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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 250.3 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.454e-05, allocations: 2.312 kB / 250.3 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00503/0.005064, allocations: 2.843 MB / 253.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.007626, allocations: 1.162 MB / 254.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.007852, allocations: 3.938 kB / 254.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.00844, allocations: 187.1 kB / 254.5 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.008998, allocations: 218.6 kB / 254.7 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.00941, allocations: 139.6 kB / 254.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006614/0.01007, allocations: 469.6 kB / 255.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.01027, allocations: 71.95 kB / 255.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.01065, allocations: 259.4 kB / 255.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.01097, allocations: 171.5 kB / 255.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.01104, allocations: 32 kB / 255.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.01122, allocations: 67.92 kB / 255.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.01136, allocations: 91.67 kB / 256 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.01155, allocations: 131.6 kB / 256.2 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.0123, allocations: 490.4 kB / 256.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.01231, allocations: 0 / 256.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01231, allocations: 0 / 256.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.01232, allocations: 4 kB / 256.6 MB, free: 13.61 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.001404/0.01372, allocations: 0.7598 MB / 257.4 MB, free: 12.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.01377, allocations: 19.92 kB / 257.4 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.01392, allocations: 60.66 kB / 257.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.01446, allocations: 279.3 kB / 257.7 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.01449, allocations: 20.86 kB / 257.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.01455, allocations: 36.33 kB / 257.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/0.01534, allocations: 0.6158 MB / 258.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.01536, allocations: 3.938 kB / 258.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.01539, allocations: 12 kB / 258.4 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.0154, allocations: 4 kB / 258.4 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.01573, allocations: 137.9 kB / 258.6 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.0173, allocations: 0.7701 MB / 259.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.01773, allocations: 179.6 kB / 259.5 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.01789, allocations: 75.66 kB / 259.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.01793, allocations: 12 kB / 259.6 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.01828, allocations: 196.2 kB / 259.8 MB, free: 10.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.864e-06/0.01828, allocations: 0 / 259.8 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009626/0.01924, allocations: 337.5 kB / 260.1 MB, free: 9.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/0.01949, allocations: 316.4 kB / 260.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.02011, allocations: 490.7 kB / 260.9 MB, free: 8.961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.02015, allocations: 33.7 kB / 260.9 MB, free: 8.922 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.0204, allocations: 275.2 kB / 261.2 MB, free: 8.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.02051, allocations: 95.2 kB / 261.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.02064, allocations: 63.36 kB / 261.4 MB, free: 8.484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003742/0.02101, allocations: 0.543 MB / 261.9 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.02116, allocations: 59.97 kB / 262 MB, free: 7.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.02167, allocations: 468.6 kB / 262.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.02202, allocations: 186.6 kB / 262.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02202, allocations: 0 / 262.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005697/0.02259, allocations: 292.9 kB / 262.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.02261, allocations: 7.938 kB / 262.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.02262, allocations: 4 kB / 262.9 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.02276, allocations: 35.67 kB / 262.9 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.02299, allocations: 55.91 kB / 263 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.02512, allocations: 1.967 MB / 265 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.02536, allocations: 19.89 kB / 265 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.02538, allocations: 12 kB / 265 MB, free: 4.57 MB / 250.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.0002666/0.02565, allocations: 208.4 kB / 265.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.02573, allocations: 51.72 kB / 265.2 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.02628, allocations: 264.8 kB / 265.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.02628, allocations: 0 / 265.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02629, allocations: 0 / 265.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007294/0.02702, allocations: 0.5866 MB / 266.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.0282, allocations: 0.711 MB / 266.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0282, allocations: 0 / 266.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.02844, allocations: 47.91 kB / 266.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.02844, allocations: 4 kB / 266.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.02846, allocations: 4 kB / 266.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.02847, allocations: 3.938 kB / 266.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.02847, allocations: 4 kB / 266.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.0292, allocations: 475.8 kB / 267.3 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.02936, allocations: 63.66 kB / 267.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.02941, allocations: 12.03 kB / 267.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.02963, allocations: 15.92 kB / 267.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.02969, allocations: 19.97 kB / 267.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.02972, allocations: 4 kB / 267.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003978/0.03011, allocations: 323.1 kB / 267.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03011, allocations: 3.938 kB / 267.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000445/0.03056, allocations: 95.88 kB / 267.9 MB, free: 1.516 MB / 250.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.002987/0.03355, allocations: 451.3 kB / 268.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00085/0.0344, allocations: 380.3 kB / 268.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.0344, allocations: 0 / 268.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.03459, allocations: 87.59 kB / 268.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.03525, allocations: 122 kB / 268.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.03697, allocations: 0.7128 MB / 269.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.03721, allocations: 185.1 kB / 269.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.0374, allocations: 42.95 kB / 269.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.03748, allocations: 32.5 kB / 269.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.673e-06/0.03749, allocations: 7.938 kB / 269.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.01557/0.05305, allocations: 6.448 MB / 276.3 MB, free: 9.012 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.102398905903101]