Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001436/0.001436, allocations: 84.34 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.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.001501/0.001501, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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 1.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.338e-06/4.338e-06, allocations: 3.984 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/3.004e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004587/0.004617, allocations: 2.685 MB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.007264, allocations: 1.332 MB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.007449, allocations: 8 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.007983, allocations: 187 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.008588, allocations: 262.4 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.008922, allocations: 135.5 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.009554, allocations: 477.6 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.009734, allocations: 72.25 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.01009, allocations: 259.4 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.0105, allocations: 167.6 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.01056, allocations: 35.94 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.01073, allocations: 79.84 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.01085, allocations: 83.69 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.01103, allocations: 139.7 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000679/0.01171, allocations: 494.3 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01171, allocations: 4 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01171, allocations: 0 / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01172, allocations: 0 / 278.7 MB, free: 11.45 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001161/0.01288, allocations: 0.6329 MB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01291, allocations: 8.031 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.01305, allocations: 64.61 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.0136, allocations: 296.4 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.01362, allocations: 16.81 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.01368, allocations: 28.38 kB / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/0.01443, allocations: 0.5892 MB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.01444, allocations: 3.938 kB / 280.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.01448, allocations: 12 kB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.01449, allocations: 4 kB / 280.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.0148, allocations: 145.9 kB / 280.5 MB, free: 9.484 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.001394/0.0162, allocations: 0.6536 MB / 281.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.01687, allocations: 175.1 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.01704, allocations: 72.83 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.01707, allocations: 4 kB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.01742, allocations: 182.8 kB / 281.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.01742, allocations: 0 / 281.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009404/0.01836, allocations: 343 kB / 281.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.01859, allocations: 320.4 kB / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.01917, allocations: 433.6 kB / 282.6 MB, free: 7.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.01921, allocations: 29.7 kB / 282.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.01941, allocations: 204.4 kB / 282.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.0195, allocations: 87.25 kB / 282.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.0196, allocations: 57.7 kB / 283 MB, free: 6.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.01982, allocations: 346.8 kB / 283.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.01998, allocations: 67.97 kB / 283.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.02044, allocations: 437 kB / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.02079, allocations: 174 kB / 284 MB, free: 5.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02079, allocations: 0 / 284 MB, free: 5.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005696/0.02136, allocations: 282.8 kB / 284.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.02138, allocations: 7.938 kB / 284.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.02138, allocations: 4.094 kB / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.02152, allocations: 40.78 kB / 284.3 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.02175, allocations: 51.91 kB / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.02355, allocations: 1.44 MB / 285.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.02377, allocations: 23.92 kB / 285.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.02379, allocations: 8 kB / 285.8 MB, free: 3.691 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.0002375/0.02402, allocations: 173.7 kB / 286 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.02411, allocations: 47.77 kB / 286 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.02468, allocations: 268.3 kB / 286.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.02469, allocations: 4 kB / 286.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.02469, allocations: 0 / 286.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006758/0.02536, allocations: 0.5867 MB / 286.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.02641, allocations: 0.6171 MB / 287.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02641, allocations: 0 / 287.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.02664, allocations: 47.98 kB / 287.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.02664, allocations: 0 / 287.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.02666, allocations: 7.984 kB / 287.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.02667, allocations: 7.938 kB / 287.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02667, allocations: 3.938 kB / 287.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.02738, allocations: 419 kB / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.02752, allocations: 67.67 kB / 288.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.02757, allocations: 4 kB / 288.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.02779, allocations: 19.92 kB / 288.1 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.02806, allocations: 15.84 kB / 288.1 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.02809, allocations: 16.05 kB / 288.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003839/0.02848, allocations: 307.2 kB / 288.4 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02848, allocations: 0 / 288.4 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000431/0.02891, allocations: 99.88 kB / 288.5 MB, free: 0.8359 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.001968/0.03088, allocations: 450 kB / 288.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006612/0.03154, allocations: 310.5 kB / 289.3 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.03154, allocations: 4.188 kB / 289.3 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.03172, allocations: 78.09 kB / 289.3 MB, free: 184 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.03232, allocations: 105.3 kB / 289.4 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.03388, allocations: 0.7575 MB / 290.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.0341, allocations: 191.2 kB / 290.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.03426, allocations: 42.94 kB / 290.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.03434, allocations: 36.5 kB / 290.5 MB, free: 15 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03434, allocations: 0 / 290.5 MB, free: 15 MB / 282.7 MB Notification: Performance of Templates: time 0.01402/0.04836, allocations: 6.458 MB / 296.9 MB, free: 8.711 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.555145237012766]