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.001812/0.001812, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002184/0.002184, allocations: 213.4 kB / 23.74 MB, free: 4.656 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 1.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001644/0.001644, allocations: 51.92 kB / 378.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2378, allocations: 53.36 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004502/0.2423, allocations: 2.904 MB / 434.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.2449, allocations: 1.426 MB / 435.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2451, allocations: 7.938 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.2457, allocations: 183.1 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.2463, allocations: 254.6 kB / 436.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.2466, allocations: 143.6 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.2472, allocations: 469.8 kB / 437 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2474, allocations: 66.86 kB / 437 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.2476, allocations: 187.3 kB / 437.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2479, allocations: 219.1 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.248, allocations: 35.98 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2481, allocations: 67.98 kB / 437.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2482, allocations: 91.67 kB / 437.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.2485, allocations: 195 kB / 437.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.2491, allocations: 493.7 kB / 438.3 MB, free: 248 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2491, allocations: 3.984 kB / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2491, allocations: 0 / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2491, allocations: 0 / 438.3 MB, free: 244 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.001189/0.2503, allocations: 0.6437 MB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2503, allocations: 12.03 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.2504, allocations: 52.66 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.251, allocations: 285.1 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.251, allocations: 16.81 kB / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.2511, allocations: 24.89 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.2516, allocations: 293.5 kB / 439.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2516, allocations: 3.938 kB / 439.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.2517, allocations: 12 kB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2517, allocations: 4 kB / 439.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.252, allocations: 141.7 kB / 439.8 MB, free: 14.67 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.001455/0.2534, allocations: 0.7963 MB / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.2539, allocations: 179.1 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.254, allocations: 72.84 kB / 440.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.2541, allocations: 11.97 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.2543, allocations: 133 kB / 441 MB, free: 13.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2543, allocations: 0 / 441 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008979/0.2552, allocations: 325.6 kB / 441.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/0.2554, allocations: 324.4 kB / 441.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.256, allocations: 437.7 kB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.256, allocations: 33.7 kB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.2562, allocations: 200.5 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.2563, allocations: 83.27 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.2564, allocations: 57.7 kB / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2566, allocations: 350.7 kB / 442.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2567, allocations: 67.97 kB / 442.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2569, allocations: 176.7 kB / 443 MB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.2573, allocations: 175.3 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2573, allocations: 96 / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004945/0.2578, allocations: 278 kB / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2578, allocations: 6.812 kB / 443.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2578, allocations: 4 kB / 443.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.2579, allocations: 36.94 kB / 443.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2582, allocations: 51.91 kB / 443.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.2598, allocations: 1.463 MB / 445 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.2601, allocations: 35.75 kB / 445 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2601, allocations: 8 kB / 445 MB, free: 9.043 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.0002123/0.2603, allocations: 168.5 kB / 445.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.2603, allocations: 43.77 kB / 445.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.2609, allocations: 266 kB / 445.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2609, allocations: 4 kB / 445.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.2609, allocations: 0 / 445.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005961/0.2615, allocations: 0.5749 MB / 446.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.2625, allocations: 0.6824 MB / 446.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2625, allocations: 0 / 446.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2627, allocations: 47.91 kB / 446.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2627, allocations: 4 kB / 446.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.2627, allocations: 12 kB / 446.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2627, allocations: 0 / 446.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2627, allocations: 0 / 446.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.2633, allocations: 402.8 kB / 447.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.2635, allocations: 67.66 kB / 447.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.2635, allocations: 8 kB / 447.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2637, allocations: 12.05 kB / 447.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.2638, allocations: 20.06 kB / 447.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2638, allocations: 8 kB / 447.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.2642, allocations: 319.1 kB / 447.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2642, allocations: 0 / 447.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.2646, allocations: 95.83 kB / 447.7 MB, free: 6.156 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 (23): * Single equations (assignments): 21 * 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.001611/0.2662, allocations: 430.6 kB / 448.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.2668, allocations: 308.8 kB / 448.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.2668, allocations: 4 kB / 448.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.267, allocations: 75.91 kB / 448.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.2676, allocations: 105 kB / 448.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2691, allocations: 0.8078 MB / 449.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.2696, allocations: 0.7998 MB / 450.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.2698, allocations: 46.94 kB / 450.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.2698, allocations: 35.42 kB / 450.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2698, allocations: 0 / 450.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of Templates: time 0.01299/0.2828, allocations: 6.349 MB / 456.6 MB, free: 13.41 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 -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.738250028109178]