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.0007549/0.0007549, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009744/0.001729, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00073/0.00073, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.00216, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8551/0.8551, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1512/1.006, allocations: 49.49 MB / 220.6 MB, free: 1.453 MB / 218.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.944e-06/1.944e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.845e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004532/0.004551, allocations: 5.022 MB / 226.9 MB, free: 11.11 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.00699, allocations: 1.383 MB / 228.2 MB, free: 9.727 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.007323, allocations: 15.88 kB / 228.3 MB, free: 9.711 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.007634, allocations: 174.5 kB / 228.4 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.008222, allocations: 349 kB / 228.8 MB, free: 9.195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.008669, allocations: 231.5 kB / 229 MB, free: 8.969 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.009863, allocations: 1.234 MB / 230.2 MB, free: 7.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.01018, allocations: 216.5 kB / 230.4 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00098/0.01116, allocations: 0.8155 MB / 231.3 MB, free: 6.672 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.01165, allocations: 386.9 kB / 231.6 MB, free: 6.293 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.01178, allocations: 104 kB / 231.7 MB, free: 6.191 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.01192, allocations: 104 kB / 231.8 MB, free: 6.09 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01204, allocations: 159.4 kB / 232 MB, free: 5.934 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.01236, allocations: 315.5 kB / 232.3 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.01306, allocations: 0.7084 MB / 233 MB, free: 4.914 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.01308, allocations: 0 / 233 MB, free: 4.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01308, allocations: 3.938 kB / 233 MB, free: 4.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.0131, allocations: 0 / 233 MB, free: 4.91 MB / 234.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.001712/0.01481, allocations: 1.431 MB / 234.4 MB, free: 3.434 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01484, allocations: 12.03 kB / 234.4 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.01501, allocations: 128.8 kB / 234.6 MB, free: 3.297 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.01556, allocations: 390.1 kB / 235 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.01576, allocations: 293.2 kB / 235.2 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.01585, allocations: 72.38 kB / 235.3 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.0169, allocations: 1.406 MB / 236.7 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.01691, allocations: 7.891 kB / 236.7 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.01696, allocations: 28 kB / 236.8 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.01697, allocations: 12 kB / 236.8 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.01732, allocations: 206.2 kB / 237 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.01912, allocations: 1.016 MB / 238 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.01954, allocations: 315.9 kB / 238.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.01976, allocations: 162.6 kB / 238.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.0198, allocations: 20.58 kB / 238.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.01985, allocations: 63.14 kB / 238.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.054e-06/0.01985, allocations: 0 / 238.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001892/0.02174, allocations: 0.8091 MB / 239.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.02178, allocations: 64.06 kB / 239.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.02218, allocations: 0.5001 MB / 239.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.02223, allocations: 45.7 kB / 239.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.02237, allocations: 251.1 kB / 240.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.02254, allocations: 269.6 kB / 240.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.02271, allocations: 146.6 kB / 240.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.02284, allocations: 390.6 kB / 241 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.02302, allocations: 159.1 kB / 241.1 MB, free: 12.24 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.0236, allocations: 1.18 MB / 242.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.02399, allocations: 358.1 kB / 242.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.024, allocations: 4 kB / 242.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009049/0.0249, allocations: 0.6764 MB / 243.3 MB, free: 9.645 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.02496, allocations: 85.11 kB / 243.4 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.02496, allocations: 0 / 243.4 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.02538, allocations: 167.3 kB / 243.6 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.02589, allocations: 191.7 kB / 243.8 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.02978, allocations: 5.285 MB / 249.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.03017, allocations: 87.56 kB / 249.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.03021, allocations: 27.92 kB / 249.2 MB, free: 3.43 MB / 250.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.0001696/0.03038, allocations: 157.7 kB / 249.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.03048, allocations: 87.91 kB / 249.4 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.03059, allocations: 83.02 kB / 249.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.03059, allocations: 8.188 kB / 249.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.0306, allocations: 0 / 249.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000826/0.03142, allocations: 0.7879 MB / 250.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.03295, allocations: 0.9522 MB / 251.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.03295, allocations: 0 / 251.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.03348, allocations: 197.6 kB / 251.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.03368, allocations: 91.28 kB / 251.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.034, allocations: 134.4 kB / 251.7 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.03404, allocations: 23.92 kB / 251.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.03694, allocations: 4.041 MB / 255.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03694, allocations: 0 / 255.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.03793, allocations: 0.6971 MB / 256.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.03801, allocations: 16 kB / 256.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.03835, allocations: 39.97 kB / 256.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.03847, allocations: 72.47 kB / 256.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.0385, allocations: 19.98 kB / 256.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.03871, allocations: 248.6 kB / 256.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03871, allocations: 0 / 256.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006085/0.03932, allocations: 287.7 kB / 257.1 MB, free: 11.06 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.0001214/0.03944, allocations: 96.55 kB / 257.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.04039, allocations: 1.076 MB / 258.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/0.04041, allocations: 15.98 kB / 258.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.04098, allocations: 0.5757 MB / 258.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.04168, allocations: 334.8 kB / 259.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.05314, allocations: 1.357 MB / 260.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.05327, allocations: 161.1 kB / 260.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.05359, allocations: 98.3 kB / 260.8 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006713/0.05427, allocations: 381 kB / 261.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.05427, allocations: 0 / 261.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of Templates: time 0.02486/0.07913, allocations: 22.41 MB / 283.6 MB, free: 348 kB / 282.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 -ignoreHideResult -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.13680568523705]