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.001822/0.001822, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001771/0.001771, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.114/2.114, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 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 0.002373/0.002373, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3461, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.007285/0.3534, allocations: 2.691 MB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.3576, allocations: 1.328 MB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.3579, allocations: 7.938 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007349/0.3586, allocations: 175.1 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009951/0.3596, allocations: 258.6 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.3602, allocations: 139.6 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000911/0.3611, allocations: 457.9 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.3614, allocations: 72.27 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.3617, allocations: 187.3 kB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.3622, allocations: 219.1 kB / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.3623, allocations: 28 kB / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.3625, allocations: 71.98 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3627, allocations: 95.67 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3629, allocations: 159.2 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.3638, allocations: 0.4891 MB / 438.7 MB, free: 364 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3638, allocations: 0 / 438.7 MB, free: 364 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3638, allocations: 0 / 438.7 MB, free: 364 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3639, allocations: 0 / 438.7 MB, free: 364 kB / 334.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.001612/0.3655, allocations: 0.6367 MB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3655, allocations: 12.03 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.3657, allocations: 52.66 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.3664, allocations: 285.1 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.3664, allocations: 12.81 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.3665, allocations: 28.11 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009068/0.3674, allocations: 0.5956 MB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3674, allocations: 0 / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.3674, allocations: 8 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3675, allocations: 8 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.3679, allocations: 141.7 kB / 440.4 MB, free: 14.42 MB / 350.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.001818/0.3698, allocations: 0.657 MB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.3703, allocations: 171.1 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.3705, allocations: 68.83 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.3706, allocations: 4 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.3709, allocations: 184.4 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.285e-06/0.3709, allocations: 0 / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001119/0.3721, allocations: 341.6 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002258/0.3723, allocations: 312.4 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.373, allocations: 441.5 kB / 442.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.373, allocations: 29.7 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.3732, allocations: 208.4 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.3733, allocations: 71.34 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3734, allocations: 61.69 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.3737, allocations: 346.8 kB / 443.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3739, allocations: 67.98 kB / 443.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.3744, allocations: 441.6 kB / 443.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.3748, allocations: 171.4 kB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3748, allocations: 4 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007031/0.3755, allocations: 274.1 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3755, allocations: 4.094 kB / 444.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3755, allocations: 4 kB / 444.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.3757, allocations: 36.83 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.376, allocations: 51.92 kB / 444.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.3781, allocations: 1.448 MB / 445.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.3785, allocations: 23.83 kB / 445.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.3785, allocations: 8 kB / 445.8 MB, free: 8.633 MB / 350.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.0003003/0.3788, allocations: 172.6 kB / 445.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3789, allocations: 47.66 kB / 446 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.3797, allocations: 273.9 kB / 446.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.3797, allocations: 4 kB / 446.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3797, allocations: 3.938 kB / 446.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007857/0.3805, allocations: 0.5789 MB / 446.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.3819, allocations: 0.6128 MB / 447.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3819, allocations: 4 kB / 447.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.3822, allocations: 43.97 kB / 447.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.3822, allocations: 3.938 kB / 447.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.3823, allocations: 8 kB / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3823, allocations: 0 / 447.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3823, allocations: 3.938 kB / 447.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.3832, allocations: 415 kB / 447.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.3834, allocations: 67.64 kB / 448 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.3835, allocations: 8 kB / 448 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3838, allocations: 15.98 kB / 448 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3839, allocations: 23.89 kB / 448 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.3839, allocations: 4 kB / 448 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000526/0.3845, allocations: 315.1 kB / 448.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3845, allocations: 0 / 448.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006906/0.3852, allocations: 91.89 kB / 448.4 MB, free: 5.797 MB / 350.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.002239/0.3874, allocations: 458.9 kB / 448.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.3884, allocations: 308.7 kB / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3884, allocations: 0 / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.3886, allocations: 83.84 kB / 449.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.3895, allocations: 97.56 kB / 449.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3918, allocations: 0.8147 MB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3921, allocations: 203.5 kB / 450.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.3924, allocations: 42.94 kB / 450.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3925, allocations: 31.44 kB / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3925, allocations: 4 kB / 450.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of Templates: time 0.02191/0.4144, allocations: 6.993 MB / 457.5 MB, free: 13.06 MB / 366.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/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: 6.782835938996868]