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.001704/0.001704, allocations: 116.5 kB / 18.45 MB, free: 4.602 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.001975/0.001975, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.481/1.481, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001518/0.001518, allocations: 43.92 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 52.14 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006409/0.1123, allocations: 5.063 MB / 424 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1148, allocations: 1.293 MB / 425.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.1151, allocations: 11.94 kB / 425.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.1156, allocations: 166.5 kB / 425.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000649/0.1162, allocations: 337.2 kB / 425.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1167, allocations: 231.6 kB / 426 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.1179, allocations: 1.168 MB / 427.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1183, allocations: 226.1 kB / 427.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.1188, allocations: 454.4 kB / 427.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.1195, allocations: 0.5058 MB / 428.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.1196, allocations: 104 kB / 428.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.1198, allocations: 115.9 kB / 428.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.12, allocations: 215.2 kB / 428.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.1206, allocations: 0.5172 MB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.1218, allocations: 1.21 MB / 430.5 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1218, allocations: 0 / 430.5 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1218, allocations: 0 / 430.5 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.1219, allocations: 3.938 kB / 430.5 MB, free: 452 kB / 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.002602/0.1245, allocations: 1.369 MB / 431.9 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1245, allocations: 15.89 kB / 431.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.1247, allocations: 112.3 kB / 432 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1258, allocations: 0.5916 MB / 432.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.126, allocations: 143 kB / 432.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.1261, allocations: 58.44 kB / 432.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.1276, allocations: 0.8509 MB / 433.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1276, allocations: 0 / 433.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.1277, allocations: 28 kB / 433.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1277, allocations: 12 kB / 433.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1292, allocations: 0.6023 MB / 434.3 MB, free: 12.43 MB / 366.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.003434/0.1326, allocations: 2.058 MB / 436.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.1341, allocations: 0.8016 MB / 437.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/0.1349, allocations: 360.8 kB / 437.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/0.135, allocations: 16.64 kB / 437.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.135, allocations: 55.2 kB / 437.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.776e-06/0.135, allocations: 0 / 437.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005351/0.1404, allocations: 1.793 MB / 439.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004555/0.1408, allocations: 0.8272 MB / 440.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/0.1417, allocations: 0.6254 MB / 440.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.1418, allocations: 49.64 kB / 440.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.1421, allocations: 337.4 kB / 441.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.1423, allocations: 265.7 kB / 441.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.1426, allocations: 146.7 kB / 441.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1428, allocations: 386.8 kB / 442 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/0.1435, allocations: 269.8 kB / 442.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009709/0.1445, allocations: 0.5585 MB / 442.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.1459, allocations: 0.6779 MB / 443.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1459, allocations: 0 / 443.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002886/0.1488, allocations: 1.095 MB / 444.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.996e-05/0.1489, allocations: 85.11 kB / 444.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1489, allocations: 0 / 444.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.1496, allocations: 239.2 kB / 444.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.1503, allocations: 139.8 kB / 445 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1971/0.3474, allocations: 6.924 MB / 452 MB, free: 25.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/0.3484, allocations: 106.4 kB / 452.1 MB, free: 25.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.3485, allocations: 22.08 kB / 452.1 MB, free: 25.05 MB / 366.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.0003576/0.3489, allocations: 214.3 kB / 452.3 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.349, allocations: 94.48 kB / 452.4 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.3492, allocations: 93.66 kB / 452.5 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3492, allocations: 7.438 kB / 452.5 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3492, allocations: 2.125 kB / 452.5 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002216/0.3514, allocations: 1.232 MB / 453.7 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.355, allocations: 1.921 MB / 455.6 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.355, allocations: 0.8906 kB / 455.6 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.3557, allocations: 146.7 kB / 455.8 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.3562, allocations: 195 kB / 456 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.3563, allocations: 18.16 kB / 456 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/0.3619, allocations: 5.337 MB / 461.3 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3619, allocations: 1.219 kB / 461.3 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.3653, allocations: 1.396 MB / 462.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.3658, allocations: 242.7 kB / 463 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3659, allocations: 21.06 kB / 463 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.3666, allocations: 45.88 kB / 463 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.3668, allocations: 69.11 kB / 463.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.3668, allocations: 22.62 kB / 463.1 MB, free: 18.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005703/0.3674, allocations: 454.9 kB / 463.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3674, allocations: 0 / 463.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009234/0.3683, allocations: 281.5 kB / 463.8 MB, free: 18.39 MB / 366.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.0001645/0.3685, allocations: 129.8 kB / 464 MB, free: 18.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.3706, allocations: 1.315 MB / 465.3 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3706, allocations: 2.312 kB / 465.3 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.3719, allocations: 0.7543 MB / 466 MB, free: 16.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.373, allocations: 240.6 kB / 466.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3757, allocations: 1.666 MB / 467.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3762, allocations: 0.9414 MB / 468.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3764, allocations: 68.05 kB / 468.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3764, allocations: 1 kB / 468.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Templates: time 0.02578/0.4022, allocations: 22.67 MB / 491.6 MB, free: 2.379 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.53987904288806]