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.001002/0.001002, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002322, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009264/0.0009264, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.002075, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9252/0.9252, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07705/1.002, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.152e-06/1.152e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.867e-05, allocations: 5.828 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004175/0.004194, allocations: 5.027 MB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.005982, allocations: 1.378 MB / 251.4 MB, free: 7.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.006157, allocations: 15.88 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.006393, allocations: 162.6 kB / 251.6 MB, free: 7.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.006767, allocations: 360.8 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.007013, allocations: 231.6 kB / 252.2 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007232/0.007736, allocations: 1.234 MB / 253.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.007966, allocations: 216.5 kB / 253.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.00854, allocations: 0.8193 MB / 254.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.008847, allocations: 378.9 kB / 254.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.008942, allocations: 104 kB / 254.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.009043, allocations: 104 kB / 255 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.009142, allocations: 163.5 kB / 255.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.009371, allocations: 311.4 kB / 255.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.009889, allocations: 0.7162 MB / 256.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.009903, allocations: 0 / 256.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.009904, allocations: 0 / 256.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.009921, allocations: 0 / 256.2 MB, free: 2.398 MB / 250.7 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.001318/0.01124, allocations: 1.427 MB / 257.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.01127, allocations: 8.031 kB / 257.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01138, allocations: 132.8 kB / 257.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.01183, allocations: 386.1 kB / 258.1 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.01198, allocations: 297.2 kB / 258.4 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.01205, allocations: 72.38 kB / 258.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008345/0.01289, allocations: 1.406 MB / 259.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.0129, allocations: 7.938 kB / 259.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.01294, allocations: 31.94 kB / 259.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01295, allocations: 12 kB / 260 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.0132, allocations: 198.3 kB / 260.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.01453, allocations: 1.027 MB / 261.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.01486, allocations: 311.3 kB / 261.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.01502, allocations: 159.5 kB / 261.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.01506, allocations: 16.64 kB / 261.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.01509, allocations: 55.16 kB / 261.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.733e-06/0.01509, allocations: 0 / 261.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001919/0.01701, allocations: 0.8208 MB / 262.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.01704, allocations: 60.06 kB / 262.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.01738, allocations: 0.5 MB / 263.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.01743, allocations: 45.7 kB / 263.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01755, allocations: 251.2 kB / 263.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.01768, allocations: 273.6 kB / 263.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.01782, allocations: 138.6 kB / 263.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01793, allocations: 390.6 kB / 264.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.01807, allocations: 163.1 kB / 264.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.01853, allocations: 1.168 MB / 265.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.01883, allocations: 374 kB / 265.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01884, allocations: 3.938 kB / 265.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00071/0.01955, allocations: 0.6687 MB / 266.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.01961, allocations: 93.16 kB / 266.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01961, allocations: 0 / 266.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.01998, allocations: 167.3 kB / 266.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.0204, allocations: 184.3 kB / 267 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.02345, allocations: 5.301 MB / 272.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.02382, allocations: 87.52 kB / 272.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.02385, allocations: 19.94 kB / 272.4 MB, free: 0.918 MB / 266.7 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.0001563/0.02401, allocations: 161.7 kB / 272.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.02408, allocations: 84.09 kB / 272.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.337e-05/0.02417, allocations: 87.02 kB / 272.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.02417, allocations: 8 kB / 272.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.02418, allocations: 4 kB / 272.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007096/0.02489, allocations: 0.7802 MB / 273.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.02616, allocations: 0.9639 MB / 274.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02616, allocations: 0 / 274.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.02655, allocations: 183.7 kB / 274.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.02671, allocations: 87.34 kB / 274.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.027, allocations: 142.6 kB / 274.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.02702, allocations: 15.98 kB / 274.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.02933, allocations: 4.044 MB / 278.9 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02933, allocations: 4.094 kB / 278.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.03033, allocations: 0.6931 MB / 279.6 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.03039, allocations: 20 kB / 279.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.03064, allocations: 35.97 kB / 279.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.03074, allocations: 68.53 kB / 279.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.03076, allocations: 15.98 kB / 279.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.03092, allocations: 248.6 kB / 280 MB, free: 8.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03092, allocations: 0 / 280 MB, free: 8.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005172/0.03144, allocations: 287.7 kB / 280.3 MB, free: 8.555 MB / 282.7 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.0001146/0.03155, allocations: 112.3 kB / 280.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007558/0.03231, allocations: 1.068 MB / 281.4 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/0.03232, allocations: 15.94 kB / 281.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.03275, allocations: 0.5914 MB / 282 MB, free: 6.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.03329, allocations: 334.8 kB / 282.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008599/0.04189, allocations: 1.343 MB / 283.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.04201, allocations: 165.1 kB / 283.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.04234, allocations: 106.3 kB / 284 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.04288, allocations: 381 kB / 284.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.04288, allocations: 0 / 284.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of Templates: time 0.1105/0.1534, allocations: 22.41 MB / 306.8 MB, free: 29.16 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0706968223676085]