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.001827/0.001827, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002542/0.002542, allocations: 213.2 kB / 24.48 MB, free: 3.84 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 / 258.2 MB, free: 7.805 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.001635/0.001635, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00616/0.2356, allocations: 4.525 MB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.2381, allocations: 1.281 MB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.2384, allocations: 19.88 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.2388, allocations: 154.6 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.2395, allocations: 337.2 kB / 438.6 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.2399, allocations: 227.6 kB / 438.9 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.2413, allocations: 1.179 MB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.2416, allocations: 206.6 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005218/0.2421, allocations: 470.4 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.2427, allocations: 449.9 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.2429, allocations: 104 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2431, allocations: 108 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.2433, allocations: 223.2 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.2437, allocations: 446.2 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.245, allocations: 1.214 MB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.245, allocations: 0 / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.245, allocations: 0 / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.245, allocations: 3.938 kB / 443.2 MB, free: 11.8 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.0025/0.2475, allocations: 1.292 MB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2475, allocations: 8.031 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.2477, allocations: 116.3 kB / 444.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2488, allocations: 0.5351 MB / 445.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002876/0.2491, allocations: 297.2 kB / 445.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2492, allocations: 60.12 kB / 445.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.2511, allocations: 1.605 MB / 447.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2511, allocations: 0 / 447.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.2512, allocations: 32 kB / 447.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2512, allocations: 16 kB / 447.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.2526, allocations: 0.5906 MB / 447.8 MB, free: 6.836 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.003143/0.2558, allocations: 1.53 MB / 449.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.2571, allocations: 0.5891 MB / 449.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008011/0.2579, allocations: 354.6 kB / 450.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.2579, allocations: 8.656 kB / 450.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.258, allocations: 55.22 kB / 450.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.785e-06/0.258, allocations: 0 / 450.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004968/0.263, allocations: 1.484 MB / 451.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004456/0.2634, allocations: 0.8234 MB / 452.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.2642, allocations: 0.598 MB / 453.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.354e-05/0.2643, allocations: 45.7 kB / 453.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.2646, allocations: 345.2 kB / 453.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.2648, allocations: 269.6 kB / 453.8 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.2651, allocations: 138.7 kB / 454 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2653, allocations: 386.8 kB / 454.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/0.266, allocations: 354.9 kB / 454.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.2674, allocations: 1.395 MB / 456.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.2689, allocations: 0.6856 MB / 456.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2689, allocations: 0 / 456.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002881/0.2718, allocations: 1.166 MB / 457.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.2718, allocations: 93.03 kB / 458 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2718, allocations: 0 / 458 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/0.2726, allocations: 235.2 kB / 458.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.2733, allocations: 139.8 kB / 458.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008335/0.2816, allocations: 6.376 MB / 464.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009143/0.2825, allocations: 99.67 kB / 464.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.2826, allocations: 23.98 kB / 464.9 MB, free: 4.551 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.0003714/0.2829, allocations: 217.7 kB / 465.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.2831, allocations: 91.66 kB / 465.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.2833, allocations: 87.02 kB / 465.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2833, allocations: 11.98 kB / 465.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2833, allocations: 3.938 kB / 465.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/0.2859, allocations: 1.241 MB / 466.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.2898, allocations: 1.658 MB / 468.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2898, allocations: 0 / 468.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.2905, allocations: 139.8 kB / 468.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005776/0.2911, allocations: 202.4 kB / 468.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.2911, allocations: 12 kB / 468.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006934/0.2981, allocations: 4.936 MB / 473.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2981, allocations: 0 / 473.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.3016, allocations: 1.396 MB / 474.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.302, allocations: 163.3 kB / 475 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.3022, allocations: 15.94 kB / 475.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.3029, allocations: 48.08 kB / 475.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.3031, allocations: 72.53 kB / 475.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.3031, allocations: 23.98 kB / 475.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006166/0.3037, allocations: 427.1 kB / 475.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3037, allocations: 8 kB / 475.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009492/0.3047, allocations: 283.7 kB / 475.9 MB, free: 9.035 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.000194/0.3049, allocations: 123.2 kB / 476 MB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.3074, allocations: 1.392 MB / 477.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3074, allocations: 4 kB / 477.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.3089, allocations: 0.7495 MB / 478.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.31, allocations: 230.9 kB / 478.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.3132, allocations: 1.642 MB / 480 MB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3136, allocations: 361.5 kB / 480.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.3139, allocations: 67.42 kB / 480.4 MB, free: 4.262 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3139, allocations: 4 kB / 480.4 MB, free: 4.258 MB / 382.1 MB Notification: Performance of Templates: time 0.02978/0.3436, allocations: 22.84 MB / 0.4915 GB, free: 13.49 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/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: 9.604184221941978]