Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009782/0.0009782, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001554/0.001554, allocations: 168.1 kB / 25.7 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8198/0.8198, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.244e-05, allocations: 2.312 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00408/0.004093, allocations: 4.963 MB / 256.5 MB, free: 2.289 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.006394, allocations: 1.375 MB / 257.9 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.006663, allocations: 15.88 kB / 257.9 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.006986, allocations: 170.6 kB / 258 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.007463, allocations: 352.9 kB / 258.4 MB, free: 384 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.007782, allocations: 231.5 kB / 258.6 MB, free: 152 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.008656, allocations: 1.222 MB / 259.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.008913, allocations: 228.5 kB / 260.1 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.009448, allocations: 0.6821 MB / 260.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.009797, allocations: 379 kB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.009898, allocations: 100 kB / 261.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.01, allocations: 108 kB / 261.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.01013, allocations: 227.2 kB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.01041, allocations: 387.2 kB / 261.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.01104, allocations: 0.7941 MB / 262.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.01104, allocations: 0 / 262.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01104, allocations: 0 / 262.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.01105, allocations: 0 / 262.7 MB, free: 12.02 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.00132/0.01237, allocations: 1.232 MB / 263.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.0124, allocations: 15.98 kB / 264 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.01253, allocations: 128.8 kB / 264.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.01297, allocations: 382.1 kB / 264.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.01314, allocations: 301.2 kB / 264.7 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.01322, allocations: 72.33 kB / 264.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.014, allocations: 1.406 MB / 266.2 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01402, allocations: 3.938 kB / 266.2 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.01405, allocations: 28 kB / 266.3 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01406, allocations: 12 kB / 266.3 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.01433, allocations: 202.2 kB / 266.5 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01572, allocations: 1.019 MB / 267.5 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.01607, allocations: 315.9 kB / 267.8 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.01624, allocations: 158.6 kB / 267.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.01628, allocations: 12.66 kB / 268 MB, free: 6.324 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.01631, allocations: 59.16 kB / 268 MB, free: 6.258 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.753e-06/0.01631, allocations: 0 / 268 MB, free: 6.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001454/0.01776, allocations: 0.8091 MB / 268.8 MB, free: 5.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002344/0.018, allocations: 0.8272 MB / 269.7 MB, free: 4.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.0183, allocations: 0.5 MB / 270.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.01834, allocations: 49.64 kB / 270.2 MB, free: 3.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01845, allocations: 251.2 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.01857, allocations: 273.6 kB / 270.7 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.01871, allocations: 138.6 kB / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01881, allocations: 390.6 kB / 271.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.01895, allocations: 159.1 kB / 271.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.01942, allocations: 1.176 MB / 272.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.01973, allocations: 366 kB / 272.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01973, allocations: 4 kB / 272.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007262/0.02045, allocations: 0.6725 MB / 273.6 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.0205, allocations: 85.11 kB / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.02051, allocations: 4 kB / 273.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.02084, allocations: 163.3 kB / 273.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.02113, allocations: 131.8 kB / 274 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.02415, allocations: 5.305 MB / 279.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.02456, allocations: 83.53 kB / 279.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.02459, allocations: 23.98 kB / 279.4 MB, free: 9.855 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.0001511/0.02474, allocations: 157.7 kB / 279.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.02482, allocations: 88.03 kB / 279.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.0249, allocations: 87 kB / 279.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02491, allocations: 12 kB / 279.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.02491, allocations: 0 / 279.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006567/0.02557, allocations: 0.784 MB / 280.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02675, allocations: 0.9561 MB / 281.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02675, allocations: 0 / 281.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.02705, allocations: 131.8 kB / 281.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.0273, allocations: 134.4 kB / 281.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.02733, allocations: 15.94 kB / 281.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.02963, allocations: 4.041 MB / 285.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02963, allocations: 0 / 285.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.03042, allocations: 0.6932 MB / 286.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.03058, allocations: 95.27 kB / 286.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.03064, allocations: 20 kB / 286.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.03089, allocations: 43.89 kB / 286.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.03102, allocations: 76.47 kB / 286.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.03104, allocations: 12 kB / 286.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.03126, allocations: 248.6 kB / 286.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03126, allocations: 0 / 286.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006465/0.03191, allocations: 283.7 kB / 287.2 MB, free: 1.551 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.0001245/0.03204, allocations: 100.3 kB / 287.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.03294, allocations: 1.068 MB / 288.4 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.03295, allocations: 8 kB / 288.4 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.03351, allocations: 0.595 MB / 289 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.03429, allocations: 242.8 kB / 289.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.03627, allocations: 1.343 MB / 290.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.03639, allocations: 165.1 kB / 290.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.03669, allocations: 102.2 kB / 290.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/0.03736, allocations: 381 kB / 291.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03736, allocations: 0 / 291.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Templates: time 0.02602/0.06337, allocations: 20.43 MB / 311.6 MB, free: 8.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1889330819249153]