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.001352/0.001352, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001407/0.001407, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.447/1.447, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001637/0.001637, allocations: 47.92 kB / 371.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, allocations: 52.16 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006278/0.2636, allocations: 4.531 MB / 428.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.2659, allocations: 1.239 MB / 429.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.2662, allocations: 15.88 kB / 429.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.2666, allocations: 162.6 kB / 429.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.2673, allocations: 337.2 kB / 430.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.2677, allocations: 219.7 kB / 430.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.269, allocations: 1.197 MB / 431.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.2694, allocations: 210.6 kB / 431.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.27, allocations: 462.4 kB / 432.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.2706, allocations: 449.9 kB / 432.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2708, allocations: 104 kB / 432.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.271, allocations: 108 kB / 432.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.2712, allocations: 219.2 kB / 433 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.2716, allocations: 446.2 kB / 433.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.2729, allocations: 1.217 MB / 434.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.273, allocations: 4 kB / 434.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.273, allocations: 4 kB / 434.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.273, allocations: 4 kB / 434.7 MB, free: 3.543 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.002566/0.2755, allocations: 1.284 MB / 436 MB, free: 2.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2756, allocations: 16.02 kB / 436 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.2758, allocations: 108.3 kB / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.2769, allocations: 0.5351 MB / 436.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.2772, allocations: 297.2 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2773, allocations: 60.08 kB / 437 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.2793, allocations: 1.604 MB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.2794, allocations: 8 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.2794, allocations: 24 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2795, allocations: 15.94 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.281, allocations: 0.5946 MB / 439.2 MB, free: 14.58 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.003374/0.2844, allocations: 1.523 MB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.2858, allocations: 0.5716 MB / 441.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.2866, allocations: 358.5 kB / 441.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-05/0.2867, allocations: 16.66 kB / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.2867, allocations: 47.22 kB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/0.2867, allocations: 0 / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005267/0.292, allocations: 1.492 MB / 443.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005421/0.2925, allocations: 0.8234 MB / 444 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.2935, allocations: 0.6057 MB / 444.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.515e-05/0.2936, allocations: 41.7 kB / 444.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.2939, allocations: 349.2 kB / 445 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.2942, allocations: 265.7 kB / 445.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.2945, allocations: 146.6 kB / 445.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002687/0.2947, allocations: 382.8 kB / 445.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/0.2955, allocations: 354.9 kB / 446.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.2971, allocations: 1.391 MB / 447.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.2986, allocations: 0.6817 MB / 448.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.2986, allocations: 4 kB / 448.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003043/0.3016, allocations: 1.162 MB / 449.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/0.3017, allocations: 93.03 kB / 449.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3018, allocations: 0 / 449.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007967/0.3026, allocations: 235.2 kB / 449.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.3032, allocations: 139.8 kB / 449.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00853/0.3117, allocations: 6.38 MB / 456.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.3126, allocations: 103.7 kB / 456.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.3127, allocations: 24 kB / 456.3 MB, free: 12.3 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.0004133/0.3131, allocations: 217.7 kB / 456.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.3133, allocations: 87.47 kB / 456.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3135, allocations: 95 kB / 456.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3135, allocations: 4 kB / 456.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3135, allocations: 8 kB / 456.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002654/0.3162, allocations: 1.225 MB / 458 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.3202, allocations: 1.666 MB / 459.6 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3202, allocations: 0 / 459.6 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.3209, allocations: 147.8 kB / 459.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/0.3215, allocations: 198.5 kB / 460 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.3215, allocations: 12 kB / 460 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006891/0.3284, allocations: 4.947 MB / 464.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3284, allocations: 0 / 464.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.3319, allocations: 1.388 MB / 466.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/0.3323, allocations: 159.3 kB / 466.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.3324, allocations: 20 kB / 466.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.3331, allocations: 47.95 kB / 466.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.3333, allocations: 68.53 kB / 466.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.3333, allocations: 23.92 kB / 466.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005796/0.3339, allocations: 435.1 kB / 467.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3339, allocations: 0 / 467.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008966/0.3348, allocations: 275.8 kB / 467.3 MB, free: 0.8008 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.0001752/0.335, allocations: 123.2 kB / 467.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.3375, allocations: 1.4 MB / 468.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3375, allocations: 4.125 kB / 468.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3389, allocations: 0.7455 MB / 469.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3399, allocations: 230.8 kB / 469.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.343, allocations: 1.65 MB / 471.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3434, allocations: 345.7 kB / 471.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.3436, allocations: 75.36 kB / 471.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3436, allocations: 4 kB / 471.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of Templates: time 0.03015/0.3738, allocations: 22.84 MB / 494.7 MB, free: 5.254 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/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: 9.529096660669893]