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.001482/0.001482, allocations: 88.16 kB / 21.44 MB, free: 272 kB / 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.001506/0.001506, allocations: 164.1 kB / 24.7 MB, free: 3.523 MB / 14.72 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.445/1.445, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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 1.713e-06/1.713e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.094e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005688/0.005719, allocations: 2.668 MB / 301.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.008616, allocations: 1.127 MB / 302.7 MB, free: 4.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.009005, allocations: 3.938 kB / 302.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.009665, allocations: 179.1 kB / 302.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.01027, allocations: 222.6 kB / 303.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.0107, allocations: 143.5 kB / 303.3 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.01132, allocations: 477.6 kB / 303.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.0115, allocations: 71.7 kB / 303.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.01182, allocations: 259.4 kB / 304 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.01211, allocations: 171.5 kB / 304.2 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.01217, allocations: 28 kB / 304.2 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.01233, allocations: 79.91 kB / 304.3 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.01244, allocations: 87.62 kB / 304.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.01261, allocations: 127.7 kB / 304.5 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.01322, allocations: 494.4 kB / 305 MB, free: 2.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01322, allocations: 0 / 305 MB, free: 2.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01322, allocations: 0 / 305 MB, free: 2.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.01323, allocations: 0 / 305 MB, free: 2.609 MB / 286.1 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.001158/0.01439, allocations: 0.6367 MB / 305.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.01443, allocations: 15.98 kB / 305.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.01454, allocations: 48.66 kB / 305.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.01511, allocations: 280.4 kB / 306 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.01514, allocations: 16.88 kB / 306 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.01518, allocations: 16.38 kB / 306 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.01593, allocations: 0.5971 MB / 306.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01594, allocations: 7.875 kB / 306.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.01598, allocations: 8 kB / 306.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.01598, allocations: 4 kB / 306.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.0163, allocations: 149.9 kB / 306.8 MB, free: 0.668 MB / 286.1 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.001328/0.01763, allocations: 0.6458 MB / 307.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.01803, allocations: 179.1 kB / 307.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.01818, allocations: 64.84 kB / 307.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.01821, allocations: 7.984 kB / 307.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.01852, allocations: 190.6 kB / 307.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/0.01852, allocations: 7.938 kB / 307.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009276/0.01945, allocations: 334 kB / 308.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/0.01963, allocations: 316.4 kB / 308.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.02012, allocations: 425.7 kB / 308.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.02016, allocations: 29.7 kB / 308.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02034, allocations: 200.4 kB / 309.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.02041, allocations: 75.34 kB / 309.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.02052, allocations: 61.69 kB / 309.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.02069, allocations: 350.8 kB / 309.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.02085, allocations: 67.97 kB / 309.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.02126, allocations: 429 kB / 310.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.0216, allocations: 167.4 kB / 310.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.0216, allocations: 4 kB / 310.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005274/0.02213, allocations: 274.2 kB / 310.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.02215, allocations: 15.94 kB / 310.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02215, allocations: 96 / 310.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.02231, allocations: 40.77 kB / 310.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.02255, allocations: 47.92 kB / 310.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.02421, allocations: 1.436 MB / 312.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.02443, allocations: 19.89 kB / 312.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.02446, allocations: 16 kB / 312.1 MB, free: 10.91 MB / 302.1 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.0002156/0.02467, allocations: 166 kB / 312.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.02474, allocations: 47.98 kB / 312.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.02531, allocations: 270.6 kB / 312.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02532, allocations: 4 kB / 312.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.02532, allocations: 0 / 312.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006044/0.02592, allocations: 0.5906 MB / 313.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.02689, allocations: 0.6102 MB / 313.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02689, allocations: 4 kB / 313.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.02712, allocations: 47.91 kB / 313.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.02712, allocations: 4 kB / 313.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.02714, allocations: 4 kB / 313.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.02715, allocations: 3.938 kB / 313.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.02715, allocations: 4 kB / 313.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.0278, allocations: 414.9 kB / 314.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.02793, allocations: 63.64 kB / 314.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.02798, allocations: 12 kB / 314.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.02821, allocations: 19.98 kB / 314.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.02827, allocations: 19.97 kB / 314.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.0283, allocations: 4 kB / 314.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000353/0.02865, allocations: 311.1 kB / 314.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02865, allocations: 0 / 314.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.02905, allocations: 91.89 kB / 314.8 MB, free: 8.07 MB / 302.1 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.001709/0.03076, allocations: 431 kB / 315.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.03139, allocations: 307.1 kB / 315.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.03139, allocations: 4 kB / 315.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.03157, allocations: 83.62 kB / 315.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.03214, allocations: 97.52 kB / 315.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.03357, allocations: 0.7331 MB / 316.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.03378, allocations: 185.4 kB / 316.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.03394, allocations: 46.94 kB / 316.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.03402, allocations: 32.5 kB / 316.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.03402, allocations: 0 / 316.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of Templates: time 0.1613/0.1954, allocations: 6.387 MB / 323.1 MB, free: 34.51 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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: 4.762414310127497]