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.00177/0.00177, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002148/0.002148, allocations: 205.8 kB / 23.73 MB, free: 4.387 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.002317/0.002317, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2545, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006503/0.261, allocations: 4.526 MB / 436.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.2634, allocations: 1.28 MB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003525/0.2638, allocations: 19.81 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.2642, allocations: 166.6 kB / 437.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.2649, allocations: 333.2 kB / 437.9 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.2653, allocations: 223.7 kB / 438.1 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2667, allocations: 1.179 MB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.267, allocations: 222.6 kB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.2676, allocations: 466.4 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.2682, allocations: 0.5057 MB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.2683, allocations: 104 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2685, allocations: 104 kB / 440.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.2688, allocations: 231.2 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.2692, allocations: 446.2 kB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2705, allocations: 1.214 MB / 442.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2705, allocations: 0 / 442.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2705, allocations: 0 / 442.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.2705, allocations: 0 / 442.5 MB, free: 11.69 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.002475/0.273, allocations: 1.296 MB / 443.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.273, allocations: 8.031 kB / 443.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.2732, allocations: 116.3 kB / 444 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.2743, allocations: 0.5312 MB / 444.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.2746, allocations: 301.2 kB / 444.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2747, allocations: 60.12 kB / 444.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.2767, allocations: 1.605 MB / 446.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2767, allocations: 0 / 446.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.2767, allocations: 32 kB / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.2768, allocations: 16 kB / 446.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.2782, allocations: 0.5907 MB / 447.1 MB, free: 6.723 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.003128/0.2813, allocations: 1.534 MB / 448.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.2826, allocations: 0.5811 MB / 449.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.2834, allocations: 355.5 kB / 449.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/0.2835, allocations: 8.656 kB / 449.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.2836, allocations: 55.22 kB / 449.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.2836, allocations: 0 / 449.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004885/0.2884, allocations: 1.484 MB / 451.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004569/0.2889, allocations: 0.8195 MB / 451.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.2897, allocations: 0.6058 MB / 452.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.2897, allocations: 45.7 kB / 452.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.29, allocations: 341.2 kB / 452.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.2903, allocations: 269.6 kB / 453.2 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.2905, allocations: 142.7 kB / 453.3 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2907, allocations: 382.8 kB / 453.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.2914, allocations: 355 kB / 454 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.2928, allocations: 1.395 MB / 455.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.2943, allocations: 0.6817 MB / 456.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2943, allocations: 0 / 456.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002738/0.297, allocations: 1.166 MB / 457.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.2971, allocations: 89.05 kB / 457.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2971, allocations: 4 kB / 457.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.2978, allocations: 231.3 kB / 457.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.2985, allocations: 143.8 kB / 457.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/0.3065, allocations: 6.391 MB / 464.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.3074, allocations: 95.61 kB / 464.2 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.3074, allocations: 24.3 kB / 464.2 MB, free: 4.434 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.0003731/0.3078, allocations: 217.7 kB / 464.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.3079, allocations: 91.42 kB / 464.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.3081, allocations: 94.98 kB / 464.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3081, allocations: 8 kB / 464.6 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3081, allocations: 0 / 464.6 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002544/0.3107, allocations: 1.229 MB / 465.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.3144, allocations: 1.658 MB / 467.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.3145, allocations: 4 kB / 467.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.3151, allocations: 139.8 kB / 467.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005595/0.3157, allocations: 202.3 kB / 467.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.3158, allocations: 15.98 kB / 467.9 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00669/0.3224, allocations: 4.932 MB / 472.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3224, allocations: 4.062 kB / 472.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.3259, allocations: 1.388 MB / 474.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.3263, allocations: 159.3 kB / 474.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3264, allocations: 19.94 kB / 474.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.3271, allocations: 51.94 kB / 474.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.3273, allocations: 68.53 kB / 474.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.3273, allocations: 20 kB / 474.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005851/0.3279, allocations: 435 kB / 474.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3279, allocations: 4 kB / 474.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009173/0.3288, allocations: 287.7 kB / 475.2 MB, free: 8.926 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.0001827/0.329, allocations: 119.2 kB / 475.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3315, allocations: 1.396 MB / 476.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.3315, allocations: 4 kB / 476.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.333, allocations: 0.7418 MB / 477.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.334, allocations: 237.7 kB / 477.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.337, allocations: 1.609 MB / 479.3 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3374, allocations: 357.5 kB / 479.7 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.3377, allocations: 98.17 kB / 479.8 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3379, allocations: 63.42 kB / 479.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3379, allocations: 0 / 479.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of Templates: time 0.03307/0.371, allocations: 20.49 MB / 0.4886 GB, free: 16 kB / 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.396297436207533]