Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001652/0.001652, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002103/0.002103, allocations: 218.7 kB / 23 MB, free: 5.609 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.431/1.431, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.88 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2355, allocations: 53.34 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006404/0.2419, allocations: 5.078 MB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.2448, allocations: 1.336 MB / 436.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.2452, allocations: 11.94 kB / 436.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.2456, allocations: 162.6 kB / 436.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.2463, allocations: 341.2 kB / 436.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.2468, allocations: 231.6 kB / 436.9 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.248, allocations: 1.164 MB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.2484, allocations: 217.8 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.249, allocations: 458.4 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006154/0.2496, allocations: 0.5096 MB / 439.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.2497, allocations: 104 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2499, allocations: 112 kB / 439.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.2501, allocations: 227.2 kB / 439.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.2506, allocations: 0.5172 MB / 440.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2518, allocations: 1.204 MB / 441.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2518, allocations: 0 / 441.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2519, allocations: 0 / 441.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2519, allocations: 0 / 441.4 MB, free: 11.85 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002477/0.2543, allocations: 1.371 MB / 442.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2544, allocations: 8.031 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.2546, allocations: 120.3 kB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2556, allocations: 0.5955 MB / 443.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.2558, allocations: 135 kB / 443.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2559, allocations: 64.11 kB / 443.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2574, allocations: 0.8431 MB / 444.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.2574, allocations: 3.984 kB / 444.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.2574, allocations: 24 kB / 444.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2575, allocations: 12 kB / 444.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.2589, allocations: 0.6023 MB / 445.2 MB, free: 7.848 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.003324/0.2622, allocations: 2.054 MB / 447.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.2636, allocations: 0.8084 MB / 448.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.2644, allocations: 363.5 kB / 448.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.2645, allocations: 12.59 kB / 448.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2645, allocations: 51.22 kB / 448.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.2645, allocations: 0 / 448.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005114/0.2696, allocations: 1.789 MB / 450.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004296/0.27, allocations: 0.8272 MB / 451.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.2709, allocations: 0.6293 MB / 451.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.2709, allocations: 49.69 kB / 451.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.2712, allocations: 337.4 kB / 452.1 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.2714, allocations: 265.6 kB / 452.4 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.2717, allocations: 142.7 kB / 452.5 MB, free: 56 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.2719, allocations: 390.8 kB / 452.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.2726, allocations: 269.8 kB / 453.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.2735, allocations: 0.5585 MB / 453.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2749, allocations: 0.6739 MB / 454.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2749, allocations: 0 / 454.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002683/0.2776, allocations: 1.087 MB / 455.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.2776, allocations: 93.09 kB / 455.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.2776, allocations: 3.984 kB / 455.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.2784, allocations: 235.1 kB / 455.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.279, allocations: 143.8 kB / 455.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008171/0.2872, allocations: 6.932 MB / 462.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.2879, allocations: 107.5 kB / 463 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.288, allocations: 23.98 kB / 463 MB, free: 4.805 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.2883, allocations: 221.7 kB / 463.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.2885, allocations: 91.48 kB / 463.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.2886, allocations: 83.34 kB / 463.4 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2886, allocations: 11.98 kB / 463.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2887, allocations: 0 / 463.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002735/0.2914, allocations: 1.237 MB / 464.6 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.2951, allocations: 1.92 MB / 466.6 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2951, allocations: 3.938 kB / 466.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.2958, allocations: 143.8 kB / 466.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005281/0.2963, allocations: 194.6 kB / 466.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.2964, allocations: 16 kB / 466.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006673/0.3031, allocations: 5.346 MB / 472.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3031, allocations: 352 / 472.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.3063, allocations: 1.399 MB / 473.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.3067, allocations: 248.3 kB / 473.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3068, allocations: 20.12 kB / 473.9 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.3074, allocations: 55.94 kB / 474 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3076, allocations: 56.58 kB / 474 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.3076, allocations: 23.98 kB / 474 MB, free: 9.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005907/0.3082, allocations: 455.1 kB / 474.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3082, allocations: 0 / 474.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008434/0.309, allocations: 283.8 kB / 474.8 MB, free: 8.367 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.3092, allocations: 127 kB / 474.9 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.3115, allocations: 1.317 MB / 476.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3115, allocations: 0 / 476.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.3128, allocations: 0.7379 MB / 476.9 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.3137, allocations: 234.7 kB / 477.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.3166, allocations: 1.631 MB / 478.8 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.3172, allocations: 0.9401 MB / 479.7 MB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003814/0.3175, allocations: 106.4 kB / 479.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.3177, allocations: 67.42 kB / 479.9 MB, free: 3.016 MB / 382.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3177, allocations: 0 / 479.9 MB, free: 3.016 MB / 382.1 MB Notification: Performance of Templates: time 0.03026/0.348, allocations: 19.02 MB / 498.9 MB, free: 272 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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: 5.344568967819214]