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.001759/0.001759, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 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.001732/0.001732, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 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 1.427/1.427, allocations: 222.9 MB / 247 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001553/0.001553, allocations: 51.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.1006, allocations: 49.43 MB / 408.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006098/0.1067, allocations: 5.04 MB / 413.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1091, allocations: 1.285 MB / 414.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.1094, allocations: 15.94 kB / 414.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.1099, allocations: 162.6 kB / 414.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.1105, allocations: 317.2 kB / 414.9 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1109, allocations: 231.6 kB / 415.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1122, allocations: 1.187 MB / 416.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.1127, allocations: 314 kB / 416.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.1132, allocations: 450.5 kB / 417.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006356/0.1138, allocations: 0.5057 MB / 417.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.114, allocations: 104 kB / 417.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.1142, allocations: 108 kB / 417.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.1144, allocations: 227.2 kB / 418 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.1149, allocations: 0.5172 MB / 418.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.1162, allocations: 1.21 MB / 419.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1162, allocations: 0 / 419.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1162, allocations: 0 / 419.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1162, allocations: 4 kB / 419.7 MB, free: 11.17 MB / 350.1 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.002415/0.1186, allocations: 1.363 MB / 421.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1187, allocations: 19.83 kB / 421.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1189, allocations: 108.3 kB / 421.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.1199, allocations: 0.5878 MB / 421.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.1201, allocations: 143 kB / 422 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.1202, allocations: 68.08 kB / 422 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.1217, allocations: 0.8509 MB / 422.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.1217, allocations: 4 kB / 422.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.1218, allocations: 24 kB / 422.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1218, allocations: 12 kB / 422.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1232, allocations: 0.6024 MB / 423.5 MB, free: 7.16 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.1265, allocations: 2.05 MB / 425.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.128, allocations: 0.8499 MB / 426.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.1289, allocations: 390.6 kB / 426.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.129, allocations: 12.64 kB / 426.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.129, allocations: 63.14 kB / 426.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/0.129, allocations: 0 / 426.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005315/0.1343, allocations: 1.797 MB / 428.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000447/0.1348, allocations: 0.8234 MB / 429.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.1357, allocations: 0.6332 MB / 430.1 MB, free: 76 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.424e-05/0.1358, allocations: 41.7 kB / 430.2 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1946/0.3304, allocations: 337.3 kB / 430.5 MB, free: 22.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.3307, allocations: 270.6 kB / 430.8 MB, free: 22.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.331, allocations: 145.7 kB / 430.9 MB, free: 22.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.3311, allocations: 385.3 kB / 431.3 MB, free: 22.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.3317, allocations: 268.2 kB / 431.5 MB, free: 22.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.3325, allocations: 0.556 MB / 432.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.3338, allocations: 0.6832 MB / 432.8 MB, free: 21.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3338, allocations: 0 / 432.8 MB, free: 21.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00258/0.3364, allocations: 1.098 MB / 433.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.3365, allocations: 88.84 kB / 434 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3365, allocations: 3.25 kB / 434 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/0.3372, allocations: 234.7 kB / 434.2 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.3378, allocations: 134.8 kB / 434.3 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.3446, allocations: 6.932 MB / 441.3 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009134/0.3455, allocations: 96.64 kB / 441.3 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.3456, allocations: 30.62 kB / 441.4 MB, free: 16.07 MB / 350.1 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.000312/0.3459, allocations: 214 kB / 441.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3461, allocations: 97.22 kB / 441.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.3462, allocations: 93.17 kB / 441.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3462, allocations: 8.094 kB / 441.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3462, allocations: 0 / 441.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002423/0.3487, allocations: 1.237 MB / 443 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.3524, allocations: 1.917 MB / 444.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3524, allocations: 3.703 kB / 444.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.3531, allocations: 143.8 kB / 445.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.3536, allocations: 204 kB / 445.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.3537, allocations: 14.2 kB / 445.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005401/0.3591, allocations: 5.356 MB / 450.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3591, allocations: 1.5 kB / 450.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.3623, allocations: 1.392 MB / 452 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.3627, allocations: 243.7 kB / 452.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3628, allocations: 22.84 kB / 452.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000676/0.3635, allocations: 49.7 kB / 452.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.3637, allocations: 64.5 kB / 452.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.3638, allocations: 19.14 kB / 452.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005304/0.3643, allocations: 454.4 kB / 452.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3643, allocations: 0 / 452.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008583/0.3652, allocations: 280 kB / 453.1 MB, free: 10.02 MB / 350.1 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.000142/0.3653, allocations: 133.8 kB / 453.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.3674, allocations: 1.352 MB / 454.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.3674, allocations: 2.219 kB / 454.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.3687, allocations: 0.7718 MB / 455.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.3696, allocations: 241.7 kB / 455.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.3721, allocations: 1.669 MB / 457.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3725, allocations: 0.938 MB / 458.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.3727, allocations: 71.92 kB / 458.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3727, allocations: 0 / 458.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of Templates: time 0.02561/0.3983, allocations: 22.61 MB / 480.9 MB, free: 5.945 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.85051848506555]