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.0007284/0.0007284, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001741, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006289/0.0006289, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001556, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8948/0.8948, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1693/1.064, allocations: 52.48 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.174e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004329/0.004351, allocations: 5.013 MB / 244.8 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.006959, allocations: 1.349 MB / 246.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.007501, allocations: 12.38 kB / 246.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.007883, allocations: 168.2 kB / 246.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007174/0.0086, allocations: 348.9 kB / 246.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.00908, allocations: 240.9 kB / 246.9 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.01041, allocations: 1.229 MB / 248.1 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.0108, allocations: 225.1 kB / 248.3 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.01212, allocations: 0.814 MB / 249.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006644/0.01279, allocations: 375 kB / 249.5 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.01302, allocations: 104 kB / 249.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.01327, allocations: 104 kB / 249.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.01341, allocations: 167.4 kB / 249.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.01381, allocations: 315.4 kB / 250.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.01472, allocations: 0.7124 MB / 250.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.67e-05/0.01475, allocations: 0.9688 kB / 250.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.01475, allocations: 0 / 250.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.137e-05/0.0148, allocations: 0 / 250.9 MB, free: 11.19 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.002263/0.01707, allocations: 1.434 MB / 252.3 MB, free: 9.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.01712, allocations: 12.02 kB / 252.3 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.01732, allocations: 120.8 kB / 252.4 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.01792, allocations: 394 kB / 252.8 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.0181, allocations: 297.2 kB / 253.1 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.01819, allocations: 72.31 kB / 253.2 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.01915, allocations: 1.402 MB / 254.6 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.01917, allocations: 7.938 kB / 254.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.0192, allocations: 28 kB / 254.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01922, allocations: 16 kB / 254.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.01952, allocations: 194.3 kB / 254.8 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.02126, allocations: 1.027 MB / 255.9 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.02168, allocations: 311.1 kB / 256.2 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.02187, allocations: 166.6 kB / 256.3 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.02192, allocations: 16.66 kB / 256.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.02196, allocations: 59.14 kB / 256.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 3.787e-06/0.02196, allocations: 0 / 256.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001714/0.02368, allocations: 0.8091 MB / 257.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.02371, allocations: 60.06 kB / 257.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.02408, allocations: 0.5039 MB / 257.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.02413, allocations: 45.7 kB / 257.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.02427, allocations: 259.1 kB / 258.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.02442, allocations: 269.6 kB / 258.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.02457, allocations: 138.6 kB / 258.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.0247, allocations: 394.6 kB / 258.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.02487, allocations: 163.1 kB / 259 MB, free: 2.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.02543, allocations: 1.168 MB / 260.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.02577, allocations: 366 kB / 260.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.02577, allocations: 4 kB / 260.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008021/0.02658, allocations: 0.6687 MB / 261.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.02664, allocations: 93.09 kB / 261.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02665, allocations: 4.062 kB / 261.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.02705, allocations: 163.2 kB / 261.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.02749, allocations: 179.8 kB / 261.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.03105, allocations: 5.309 MB / 266.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.03155, allocations: 87.58 kB / 267 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.03158, allocations: 19.94 kB / 267 MB, free: 9.707 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.0002202/0.0318, allocations: 161.7 kB / 267.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.03191, allocations: 83.92 kB / 267.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.032, allocations: 94.89 kB / 267.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.03201, allocations: 11.98 kB / 267.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.03201, allocations: 0 / 267.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007257/0.03274, allocations: 0.784 MB / 268.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.0341, allocations: 0.9483 MB / 269.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.03411, allocations: 0 / 269.1 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.03452, allocations: 180.9 kB / 269.3 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.03474, allocations: 99.27 kB / 269.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.03503, allocations: 142.6 kB / 269.5 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.03505, allocations: 16 kB / 269.6 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.03768, allocations: 4.046 MB / 273.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.03768, allocations: 0 / 273.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.03865, allocations: 0.6971 MB / 274.3 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.03876, allocations: 24 kB / 274.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.03905, allocations: 43.95 kB / 274.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.03919, allocations: 64.53 kB / 274.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.03922, allocations: 12 kB / 274.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.03943, allocations: 248.5 kB / 274.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03943, allocations: 0 / 274.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000683/0.04011, allocations: 291.7 kB / 275 MB, free: 1.34 MB / 266.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.0001675/0.04028, allocations: 104.3 kB / 275.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.04141, allocations: 1.077 MB / 276.1 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.401e-05/0.04144, allocations: 15.98 kB / 276.2 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.04204, allocations: 0.6201 MB / 276.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.04344, allocations: 2.28 MB / 279.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/0.05226, allocations: 1.347 MB / 280.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.05244, allocations: 169.2 kB / 280.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.05291, allocations: 98.44 kB / 280.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.05353, allocations: 389 kB / 281 MB, free: 10.59 MB / 282.7 MB Notification: Performance of SimCode: time 2.265e-06/0.05353, allocations: 0 / 281 MB, free: 10.59 MB / 282.7 MB Notification: Performance of Templates: time 0.02864/0.08217, allocations: 23.07 MB / 304.1 MB, free: 3.926 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.01712061278522]