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.0008576/0.0008576, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 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.004289/0.004289, allocations: 147.1 kB / 24.68 MB, free: 9.438 MB / 18.57 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 0.8382/0.8382, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 319.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.156e-05, allocations: 2.281 kB / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00375/0.003771, allocations: 4.516 MB / 324.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.005094, allocations: 1.258 MB / 325.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.005297, allocations: 15.88 kB / 325.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.00559, allocations: 158.6 kB / 325.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.005989, allocations: 352.9 kB / 326 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.006262, allocations: 231.5 kB / 326.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007526/0.007014, allocations: 1.221 MB / 327.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.007257, allocations: 210.5 kB / 327.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.007702, allocations: 0.6822 MB / 328.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.008255, allocations: 379 kB / 328.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-05/0.008348, allocations: 104 kB / 328.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.008436, allocations: 104 kB / 328.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.008544, allocations: 231.2 kB / 329.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.008765, allocations: 379.2 kB / 329.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.009515, allocations: 1.258 MB / 330.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.009517, allocations: 0 / 330.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.00952, allocations: 4 kB / 330.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.009527, allocations: 0 / 330.7 MB, free: 10.62 MB / 298.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.001303/0.01083, allocations: 1.28 MB / 332 MB, free: 9.285 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.01087, allocations: 8.031 kB / 332 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.01099, allocations: 112.3 kB / 332.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.01158, allocations: 0.5305 MB / 332.7 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.01174, allocations: 305.1 kB / 333 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.0118, allocations: 60.33 kB / 333 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.01282, allocations: 1.608 MB / 334.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01284, allocations: 7.938 kB / 334.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.01288, allocations: 28 kB / 334.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.01289, allocations: 16 kB / 334.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.01368, allocations: 0.5907 MB / 335.3 MB, free: 5.664 MB / 298.7 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.002055/0.01573, allocations: 1.519 MB / 336.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/0.01646, allocations: 0.5778 MB / 337.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.01691, allocations: 362.4 kB / 337.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.01695, allocations: 16.64 kB / 337.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.01697, allocations: 47.22 kB / 337.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.804e-06/0.01697, allocations: 0 / 337.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002486/0.01946, allocations: 1.488 MB / 339.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.01968, allocations: 0.8234 MB / 340.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.02014, allocations: 0.6058 MB / 340.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.02018, allocations: 45.7 kB / 340.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.02035, allocations: 341.2 kB / 341.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.02047, allocations: 257.6 kB / 341.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.02061, allocations: 150.6 kB / 341.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.02072, allocations: 382.8 kB / 341.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.02112, allocations: 354.9 kB / 342.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.02213, allocations: 1.395 MB / 343.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.02291, allocations: 0.6856 MB / 344.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02291, allocations: 8 kB / 344.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001374/0.02428, allocations: 1.158 MB / 345.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.02433, allocations: 89.09 kB / 345.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.02433, allocations: 8 kB / 345.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.02474, allocations: 235.2 kB / 345.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.02503, allocations: 143.8 kB / 345.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.02944, allocations: 6.376 MB / 352.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.0298, allocations: 99.73 kB / 352.4 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.02984, allocations: 23.98 kB / 352.4 MB, free: 3.371 MB / 314.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.0002101/0.03005, allocations: 213.8 kB / 352.6 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.03013, allocations: 87.48 kB / 352.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/0.03021, allocations: 90.95 kB / 352.8 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.03022, allocations: 15.88 kB / 352.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.03022, allocations: 0 / 352.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/0.03151, allocations: 1.233 MB / 354 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.03351, allocations: 1.662 MB / 355.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03351, allocations: 0 / 355.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.03383, allocations: 139.8 kB / 355.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.03412, allocations: 202.4 kB / 356 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.03415, allocations: 12 kB / 356 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.03766, allocations: 4.936 MB / 361 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.03767, allocations: 3.984 kB / 361 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.03936, allocations: 1.38 MB / 362.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.03956, allocations: 171.2 kB / 362.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.03962, allocations: 23.98 kB / 362.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.03992, allocations: 47.95 kB / 362.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.04002, allocations: 64.53 kB / 362.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.04005, allocations: 23.98 kB / 362.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003141/0.04036, allocations: 435.1 kB / 363.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04036, allocations: 0 / 363.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005276/0.04089, allocations: 283.8 kB / 363.4 MB, free: 7.871 MB / 330.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.0001202/0.04101, allocations: 115.1 kB / 363.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.04251, allocations: 1.407 MB / 364.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.04251, allocations: 4 kB / 364.9 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006836/0.0432, allocations: 0.7456 MB / 365.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.04376, allocations: 233.6 kB / 365.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.04536, allocations: 1.499 MB / 367.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.04555, allocations: 345.7 kB / 367.7 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.0457, allocations: 76.48 kB / 367.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0457, allocations: 0 / 367.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of Templates: time 0.01545/0.06115, allocations: 22.86 MB / 390.7 MB, free: 12.46 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.499179103411734]