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.001662/0.001662, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002067/0.002067, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.00199/0.00199, allocations: 59.89 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2287, allocations: 53.41 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006/0.2347, allocations: 4.522 MB / 436.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2369, allocations: 1.291 MB / 437.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.2371, allocations: 11.94 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.2375, allocations: 162.5 kB / 437.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.2381, allocations: 333.2 kB / 437.9 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.2386, allocations: 227.8 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.2398, allocations: 1.182 MB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.2402, allocations: 202.6 kB / 439.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.2407, allocations: 470.4 kB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.2412, allocations: 445.9 kB / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.2414, allocations: 104 kB / 440.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.2416, allocations: 108 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2418, allocations: 223.2 kB / 440.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.2422, allocations: 446.1 kB / 441.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2434, allocations: 1.218 MB / 442.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2434, allocations: 0 / 442.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.2434, allocations: 4 kB / 442.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2434, allocations: 0 / 442.5 MB, free: 11.57 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.002465/0.2459, allocations: 1.296 MB / 443.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2459, allocations: 15.98 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.2461, allocations: 112.3 kB / 443.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.2472, allocations: 0.5273 MB / 444.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.2474, allocations: 297.2 kB / 444.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2475, allocations: 60.06 kB / 444.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.2495, allocations: 1.608 MB / 446.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2495, allocations: 4 kB / 446.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.2496, allocations: 28 kB / 446.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.2496, allocations: 12 kB / 446.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.2511, allocations: 0.5946 MB / 447.1 MB, free: 6.598 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.003215/0.2543, allocations: 1.53 MB / 448.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.2556, allocations: 0.581 MB / 449.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.2565, allocations: 355.5 kB / 449.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.056e-05/0.2565, allocations: 20.59 kB / 449.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2566, allocations: 51.16 kB / 449.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.504e-06/0.2566, allocations: 0 / 449.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005173/0.2617, allocations: 1.476 MB / 451.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005257/0.2623, allocations: 0.8234 MB / 451.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.2631, allocations: 0.6019 MB / 452.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.2633, allocations: 45.7 kB / 452.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.2636, allocations: 345.2 kB / 452.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.2638, allocations: 269.6 kB / 453.1 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.2641, allocations: 138.7 kB / 453.3 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.2643, allocations: 386.7 kB / 453.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.2651, allocations: 355 kB / 454 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.2666, allocations: 1.391 MB / 455.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.2681, allocations: 0.6817 MB / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2681, allocations: 0 / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003041/0.2712, allocations: 1.17 MB / 457.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.2713, allocations: 89.05 kB / 457.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2713, allocations: 0 / 457.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007437/0.272, allocations: 235.2 kB / 457.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.2727, allocations: 135.8 kB / 457.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008291/0.281, allocations: 6.403 MB / 464.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/0.2819, allocations: 91.56 kB / 464.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.2819, allocations: 20 kB / 464.2 MB, free: 4.312 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.000369/0.2823, allocations: 217.7 kB / 464.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2824, allocations: 95.42 kB / 464.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.2826, allocations: 95 kB / 464.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2826, allocations: 8 kB / 464.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2826, allocations: 0 / 464.6 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002628/0.2853, allocations: 1.229 MB / 465.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003857/0.2891, allocations: 1.658 MB / 467.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2891, allocations: 3.938 kB / 467.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/0.2898, allocations: 139.8 kB / 467.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.2904, allocations: 202.5 kB / 467.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.2904, allocations: 12 kB / 467.8 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/0.2974, allocations: 4.937 MB / 472.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2974, allocations: 0 / 472.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.3009, allocations: 1.392 MB / 474.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.3013, allocations: 159.3 kB / 474.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3014, allocations: 20 kB / 474.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/0.3021, allocations: 55.94 kB / 474.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.3023, allocations: 64.48 kB / 474.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.3023, allocations: 19.98 kB / 474.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005862/0.3029, allocations: 431.1 kB / 474.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3029, allocations: 0 / 474.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008851/0.3038, allocations: 283.7 kB / 475.2 MB, free: 8.812 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.0001835/0.304, allocations: 130.5 kB / 475.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.3065, allocations: 1.392 MB / 476.7 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3065, allocations: 4 kB / 476.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.3079, allocations: 0.7457 MB / 477.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.3089, allocations: 238.8 kB / 477.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.312, allocations: 1.602 MB / 479.3 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3124, allocations: 353.6 kB / 479.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000396/0.3128, allocations: 98.16 kB / 479.7 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.313, allocations: 67.42 kB / 479.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.313, allocations: 0 / 479.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of Templates: time 0.03549/0.3485, allocations: 20.3 MB / 0.4884 GB, free: 80 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.381817465648055]