Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001378/0.001378, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001431/0.001431, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.965 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 47.92 kB / 378.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 53.35 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006992/0.2995, allocations: 5.084 MB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.3023, allocations: 1.351 MB / 438.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.3029, allocations: 11.94 kB / 438.1 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.3034, allocations: 162.5 kB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009296/0.3043, allocations: 337.2 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.3049, allocations: 227.6 kB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.307, allocations: 1.176 MB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/0.3076, allocations: 216.2 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.3085, allocations: 470.3 kB / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.3095, allocations: 0.5058 MB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.3097, allocations: 104 kB / 441.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.31, allocations: 108 kB / 441.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.3102, allocations: 227.2 kB / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.3108, allocations: 0.5172 MB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.3121, allocations: 1.21 MB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3122, allocations: 0 / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3122, allocations: 0 / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3122, allocations: 0 / 443.3 MB, free: 11.18 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.002597/0.3148, allocations: 1.296 MB / 444.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3148, allocations: 8.031 kB / 444.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.315, allocations: 116.3 kB / 444.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.316, allocations: 0.5234 MB / 445.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.3163, allocations: 297.2 kB / 445.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3164, allocations: 68.12 kB / 445.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3179, allocations: 0.8439 MB / 446.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.318, allocations: 4 kB / 446.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.318, allocations: 28 kB / 446.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.318, allocations: 16 kB / 446.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.3195, allocations: 0.6023 MB / 447.1 MB, free: 7.152 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.003506/0.323, allocations: 2.011 MB / 449.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.3244, allocations: 0.5935 MB / 449.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.3252, allocations: 358.6 kB / 450 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.3253, allocations: 12.64 kB / 450 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.3253, allocations: 51.22 kB / 450.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.144e-06/0.3253, allocations: 3.938 kB / 450.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005077/0.3304, allocations: 1.484 MB / 451.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004968/0.3309, allocations: 0.8234 MB / 452.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.3317, allocations: 0.6293 MB / 453 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.3318, allocations: 45.7 kB / 453.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.3321, allocations: 345.3 kB / 453.4 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.3323, allocations: 257.7 kB / 453.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.3326, allocations: 150.6 kB / 453.8 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3328, allocations: 382.8 kB / 454.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.3335, allocations: 277.8 kB / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.3345, allocations: 0.5546 MB / 455 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.3359, allocations: 0.6817 MB / 455.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3359, allocations: 0 / 455.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002706/0.3386, allocations: 1.091 MB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.3387, allocations: 83.45 kB / 456.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3387, allocations: 4 kB / 456.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.3394, allocations: 243.2 kB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.3401, allocations: 135.8 kB / 457.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/0.3488, allocations: 6.523 MB / 463.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/0.3496, allocations: 107.4 kB / 463.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.3497, allocations: 31.98 kB / 463.9 MB, free: 5.309 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.0003615/0.3501, allocations: 209.7 kB / 464.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.3502, allocations: 95.48 kB / 464.2 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.3504, allocations: 87.34 kB / 464.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3504, allocations: 11.98 kB / 464.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3504, allocations: 0 / 464.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00265/0.3531, allocations: 1.241 MB / 465.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.3571, allocations: 1.892 MB / 467.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3571, allocations: 0 / 467.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.3578, allocations: 135.8 kB / 467.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.3584, allocations: 194.5 kB / 467.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.3585, allocations: 19.98 kB / 467.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007013/0.3655, allocations: 5.039 MB / 472.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3655, allocations: 4.219 kB / 472.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.369, allocations: 1.392 MB / 474.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.3694, allocations: 167.3 kB / 474.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3695, allocations: 16 kB / 474.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.3702, allocations: 59.94 kB / 474.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.3704, allocations: 56.55 kB / 474.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.3704, allocations: 23.98 kB / 474.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00062/0.371, allocations: 455.1 kB / 475 MB, free: 9.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.371, allocations: 0 / 475 MB, free: 9.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008879/0.3719, allocations: 279.8 kB / 475.2 MB, free: 9.402 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.0001836/0.3721, allocations: 125.8 kB / 475.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.3746, allocations: 1.317 MB / 476.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3746, allocations: 0 / 476.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.376, allocations: 0.7457 MB / 477.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.377, allocations: 238.7 kB / 477.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.3814, allocations: 1.625 MB / 479.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009757/0.3823, allocations: 0.9478 MB / 480.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000732/0.3831, allocations: 98.44 kB / 480.3 MB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.3834, allocations: 71.42 kB / 480.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3834, allocations: 0 / 480.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.0518/0.4352, allocations: 19.19 MB / 499.6 MB, free: 1.129 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.370112524135038]