Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001993/0.001993, allocations: 88.44 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002402/0.002402, allocations: 161.5 kB / 23.95 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.415e-05, allocations: 4.672 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004275/0.004299, allocations: 2.694 MB / 327.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.006817, allocations: 1.325 MB / 329 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.007003, allocations: 7.469 kB / 329 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.007589, allocations: 189.6 kB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.00826, allocations: 254 kB / 329.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.008703, allocations: 137.7 kB / 329.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.009531, allocations: 485.7 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.009723, allocations: 63.47 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.01013, allocations: 265.8 kB / 330.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.01047, allocations: 169.4 kB / 330.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.01054, allocations: 29.59 kB / 330.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.01074, allocations: 82.59 kB / 330.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01088, allocations: 86.7 kB / 330.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.01112, allocations: 134.6 kB / 330.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.01188, allocations: 496.9 kB / 331.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01189, allocations: 0 / 331.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01189, allocations: 1.188 kB / 331.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.0119, allocations: 0 / 331.4 MB, free: 12.55 MB / 302.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.001164/0.01306, allocations: 0.6365 MB / 332 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.0131, allocations: 16.11 kB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.01321, allocations: 56.75 kB / 332.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.01375, allocations: 279.3 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.01378, allocations: 16.69 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.01382, allocations: 17.38 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.01455, allocations: 0.593 MB / 333 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.01457, allocations: 1.594 kB / 333 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.0146, allocations: 10.67 kB / 333 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.01461, allocations: 9.438 kB / 333 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.01492, allocations: 150.7 kB / 333.1 MB, free: 11.02 MB / 302.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.001399/0.01632, allocations: 0.6451 MB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.01674, allocations: 179.8 kB / 334 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.0169, allocations: 65.69 kB / 334 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.01693, allocations: 8.016 kB / 334 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.01728, allocations: 190.4 kB / 334.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.01728, allocations: 4 kB / 334.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009276/0.01821, allocations: 333.3 kB / 334.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002083/0.01842, allocations: 317.5 kB / 334.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.01894, allocations: 436 kB / 335.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.01898, allocations: 32.33 kB / 335.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.01918, allocations: 202 kB / 335.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.01927, allocations: 85.08 kB / 335.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01938, allocations: 65.3 kB / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.01961, allocations: 347.9 kB / 336 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.01977, allocations: 60.75 kB / 336.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.02019, allocations: 441 kB / 336.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.02054, allocations: 165.3 kB / 336.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02054, allocations: 0 / 336.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005375/0.02108, allocations: 285.1 kB / 336.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.02109, allocations: 6.156 kB / 336.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.0211, allocations: 0 / 336.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.02126, allocations: 37.75 kB / 337 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.02148, allocations: 52.84 kB / 337 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.02313, allocations: 1.435 MB / 338.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.02337, allocations: 28.83 kB / 338.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.02339, allocations: 6.406 kB / 338.5 MB, free: 6.508 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.0002169/0.02361, allocations: 170.7 kB / 338.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.02368, allocations: 39.67 kB / 338.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.02425, allocations: 268.8 kB / 339 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.02425, allocations: 2.312 kB / 339 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.02425, allocations: 0 / 339 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006123/0.02487, allocations: 0.5903 MB / 339.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.02584, allocations: 0.6168 MB / 340.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02584, allocations: 3.938 kB / 340.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.02607, allocations: 43.39 kB / 340.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.02607, allocations: 0 / 340.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.0261, allocations: 11.98 kB / 340.2 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02611, allocations: 4 kB / 340.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02611, allocations: 0 / 340.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.02676, allocations: 419 kB / 340.6 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.0269, allocations: 63.69 kB / 340.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.02695, allocations: 4 kB / 340.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.02719, allocations: 20.05 kB / 340.7 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.02724, allocations: 15.92 kB / 340.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.02727, allocations: 11.98 kB / 340.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.02762, allocations: 307.2 kB / 341 MB, free: 4.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02762, allocations: 0 / 341 MB, free: 4.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.02805, allocations: 99.88 kB / 341.1 MB, free: 4.121 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.001721/0.02977, allocations: 448.1 kB / 341.6 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.03042, allocations: 310.3 kB / 341.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.03042, allocations: 4 kB / 341.9 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.0306, allocations: 71.92 kB / 342 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.03119, allocations: 97.56 kB / 342.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.03264, allocations: 0.7325 MB / 342.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.03287, allocations: 195.2 kB / 343 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.03303, allocations: 46.94 kB / 343 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.03311, allocations: 36.48 kB / 343.1 MB, free: 2.281 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.03311, allocations: 4 kB / 343.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of Templates: time 0.01344/0.04655, allocations: 6.418 MB / 349.5 MB, free: 12 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.669105980545282]