Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007683/0.0007683, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001808, allocations: 449.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.0006892/0.0006892, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009025/0.001592, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9137/0.9137, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07851/0.9922, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.361e-05, allocations: 9.062 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003848/0.003862, allocations: 5.03 MB / 249.6 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.005211, allocations: 1.374 MB / 250.9 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.005387, allocations: 19.88 kB / 250.9 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.005609, allocations: 166.5 kB / 251.1 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.005963, allocations: 353 kB / 251.5 MB, free: 7.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.006205, allocations: 223.6 kB / 251.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007228/0.006927, allocations: 1.226 MB / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.007161, allocations: 228.4 kB / 253.1 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.007724, allocations: 0.8232 MB / 253.9 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.008032, allocations: 378.9 kB / 254.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.008128, allocations: 104 kB / 254.4 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.008228, allocations: 104 kB / 254.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.008323, allocations: 159.4 kB / 254.7 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.008552, allocations: 315.5 kB / 255 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.009066, allocations: 0.7123 MB / 255.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.009079, allocations: 0 / 255.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00908, allocations: 0 / 255.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.009094, allocations: 0 / 255.7 MB, free: 3.059 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.001261/0.01036, allocations: 1.427 MB / 257.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.01038, allocations: 12.03 kB / 257.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.01051, allocations: 128.8 kB / 257.3 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.01091, allocations: 390.1 kB / 257.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.01106, allocations: 293.2 kB / 257.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.01113, allocations: 72.38 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.0119, allocations: 1.41 MB / 259.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.01191, allocations: 11.88 kB / 259.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.01195, allocations: 28 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01196, allocations: 12 kB / 259.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.01221, allocations: 198.3 kB / 259.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.01354, allocations: 1.027 MB / 260.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01387, allocations: 312.7 kB / 261 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.01403, allocations: 160.2 kB / 261.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.01407, allocations: 12.66 kB / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.0141, allocations: 59.14 kB / 261.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.724e-06/0.0141, allocations: 3.938 kB / 261.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001454/0.01556, allocations: 0.8091 MB / 262 MB, free: 12.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.01571, allocations: 64.06 kB / 262.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.016, allocations: 0.5 MB / 262.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.01604, allocations: 45.7 kB / 262.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01616, allocations: 251.2 kB / 262.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.01627, allocations: 273.6 kB / 263.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.01641, allocations: 134.6 kB / 263.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01652, allocations: 394.6 kB / 263.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.01666, allocations: 159.1 kB / 263.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.0171, allocations: 1.18 MB / 265 MB, free: 8.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.01738, allocations: 366 kB / 265.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01738, allocations: 8 kB / 265.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009087/0.01829, allocations: 0.6687 MB / 266 MB, free: 7.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.01833, allocations: 85.11 kB / 266.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01834, allocations: 0 / 266.1 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.01866, allocations: 171.3 kB / 266.3 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.01903, allocations: 190.6 kB / 266.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.02179, allocations: 5.301 MB / 271.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.02208, allocations: 87.56 kB / 271.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.0221, allocations: 23.92 kB / 271.9 MB, free: 1.574 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.0001402/0.02225, allocations: 157.9 kB / 272 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.02232, allocations: 87.91 kB / 272.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.02241, allocations: 87.02 kB / 272.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.02241, allocations: 8 kB / 272.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.02241, allocations: 0 / 272.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008818/0.0233, allocations: 0.7802 MB / 273 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.02443, allocations: 0.9561 MB / 273.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02443, allocations: 0 / 273.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.0248, allocations: 194.3 kB / 274.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.02495, allocations: 87.34 kB / 274.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.0252, allocations: 134.5 kB / 274.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.02522, allocations: 16 kB / 274.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.02745, allocations: 4.041 MB / 278.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02745, allocations: 3.938 kB / 278.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.02823, allocations: 0.697 MB / 279.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.02829, allocations: 16 kB / 279.1 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.02854, allocations: 39.97 kB / 279.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.02865, allocations: 68.53 kB / 279.2 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.02867, allocations: 19.98 kB / 279.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.02885, allocations: 248.6 kB / 279.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02885, allocations: 0 / 279.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007836/0.02963, allocations: 287.7 kB / 279.8 MB, free: 9.219 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.0001017/0.02973, allocations: 104.3 kB / 279.9 MB, free: 9.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.03048, allocations: 1.076 MB / 280.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/0.0305, allocations: 19.92 kB / 281 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.03092, allocations: 0.5796 MB / 281.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.03144, allocations: 346.2 kB / 281.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/0.03976, allocations: 1.339 MB / 283.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.03988, allocations: 169.1 kB / 283.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.04012, allocations: 102.3 kB / 283.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.04065, allocations: 381 kB / 283.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.04065, allocations: 0 / 283.9 MB, free: 4.918 MB / 282.7 MB Notification: Performance of Templates: time 0.1087/0.1494, allocations: 22.42 MB / 306.3 MB, free: 30.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.054446205496788]