Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 43.94 kB / 370.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 52.18 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006016/0.253, allocations: 4.521 MB / 427.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.2551, allocations: 1.249 MB / 428.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.2554, allocations: 11.94 kB / 428.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.2558, allocations: 162.6 kB / 429 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006365/0.2564, allocations: 337.2 kB / 429.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.2568, allocations: 227.6 kB / 429.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.2581, allocations: 1.176 MB / 430.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.2585, allocations: 210.6 kB / 430.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.259, allocations: 474.3 kB / 431.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.2596, allocations: 441.9 kB / 431.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2598, allocations: 104 kB / 431.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.26, allocations: 108 kB / 432 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.2602, allocations: 227.2 kB / 432.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.2607, allocations: 450.1 kB / 432.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.262, allocations: 1.21 MB / 433.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.262, allocations: 0 / 433.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.262, allocations: 0 / 433.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2621, allocations: 0 / 433.9 MB, free: 3.605 MB / 334.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.002598/0.2647, allocations: 1.292 MB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2647, allocations: 8.031 kB / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.2649, allocations: 112.3 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.266, allocations: 0.5428 MB / 435.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/0.2664, allocations: 305.1 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2665, allocations: 60.08 kB / 436.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.2685, allocations: 1.596 MB / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.2686, allocations: 0 / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/0.2686, allocations: 32 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2686, allocations: 12 kB / 437.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.2701, allocations: 0.5946 MB / 438.4 MB, free: 14.64 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.003246/0.2734, allocations: 1.523 MB / 440 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.2747, allocations: 0.5754 MB / 440.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/0.2757, allocations: 354.5 kB / 440.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.388e-05/0.2757, allocations: 16.64 kB / 440.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.2758, allocations: 51.16 kB / 441 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/0.2758, allocations: 0 / 441 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005209/0.281, allocations: 1.492 MB / 442.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006119/0.2816, allocations: 0.8234 MB / 443.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.2825, allocations: 0.6018 MB / 443.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.2825, allocations: 45.7 kB / 443.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.2828, allocations: 349.2 kB / 444.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.2831, allocations: 261.7 kB / 444.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.2833, allocations: 146.6 kB / 444.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.2836, allocations: 382.8 kB / 445 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.2843, allocations: 355 kB / 445.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.286, allocations: 1.395 MB / 446.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2875, allocations: 0.6817 MB / 447.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2875, allocations: 0 / 447.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002833/0.2903, allocations: 1.166 MB / 448.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/0.2904, allocations: 93.03 kB / 448.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2904, allocations: 4 kB / 448.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/0.2912, allocations: 235.2 kB / 448.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.2918, allocations: 135.8 kB / 449.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008834/0.3007, allocations: 6.388 MB / 455.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/0.3015, allocations: 95.61 kB / 455.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.3016, allocations: 23.98 kB / 455.6 MB, free: 12.35 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.0003682/0.302, allocations: 221.7 kB / 455.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.3022, allocations: 91.41 kB / 455.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.3023, allocations: 91.02 kB / 456 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3024, allocations: 4 kB / 456 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3024, allocations: 0 / 456 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002804/0.3052, allocations: 1.233 MB / 457.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.3093, allocations: 1.666 MB / 458.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3093, allocations: 192 / 458.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/0.31, allocations: 143.8 kB / 459 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.3106, allocations: 206.4 kB / 459.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.3106, allocations: 12 kB / 459.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007222/0.3178, allocations: 4.932 MB / 464.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3178, allocations: 240 / 464.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.3213, allocations: 1.392 MB / 465.6 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.3217, allocations: 171.3 kB / 465.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.3218, allocations: 20 kB / 465.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.3225, allocations: 51.89 kB / 465.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.3227, allocations: 72.47 kB / 465.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3228, allocations: 16 kB / 465.9 MB, free: 1.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006314/0.3234, allocations: 435.1 kB / 466.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3234, allocations: 0 / 466.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009216/0.3243, allocations: 279.8 kB / 466.6 MB, free: 0.8398 MB / 366.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.0001787/0.3245, allocations: 123.2 kB / 466.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.327, allocations: 1.388 MB / 468.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.327, allocations: 7.938 kB / 468.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.3285, allocations: 0.7457 MB / 468.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.3294, allocations: 226.9 kB / 469.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3325, allocations: 1.625 MB / 470.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3329, allocations: 349.7 kB / 471 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004128/0.3333, allocations: 98.17 kB / 471.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.3335, allocations: 63.44 kB / 471.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3335, allocations: 0 / 471.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of Templates: time 0.03297/0.3664, allocations: 20.29 MB / 491.5 MB, free: 8.129 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.37732313759625]