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.00193/0.00193, allocations: 78.64 kB / 20.68 MB, free: 1.039 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.002251/0.002251, allocations: 145.9 kB / 23.93 MB, free: 4.188 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.424/1.424, allocations: 173.3 MB / 200.4 MB, free: 12.89 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 1.743e-06/1.743e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.015e-05, allocations: 2.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004533/0.004553, allocations: 4.508 MB / 323.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.006983, allocations: 1.256 MB / 324.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.007304, allocations: 16.84 kB / 324.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.007763, allocations: 154.8 kB / 324.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007741/0.008537, allocations: 352.7 kB / 325.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.009072, allocations: 232.5 kB / 325.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.01054, allocations: 1.223 MB / 326.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.01092, allocations: 210.7 kB / 326.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/0.01184, allocations: 0.6738 MB / 327.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.01242, allocations: 379.7 kB / 327.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.01259, allocations: 104.3 kB / 328 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.01279, allocations: 105.6 kB / 328.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.01304, allocations: 232.6 kB / 328.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.01355, allocations: 386.1 kB / 328.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.01505, allocations: 1.259 MB / 330 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.01505, allocations: 0 / 330 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01505, allocations: 1.219 kB / 330 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.01507, allocations: 0 / 330 MB, free: 13.14 MB / 302.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.002636/0.01771, allocations: 1.283 MB / 331.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.01775, allocations: 9.969 kB / 331.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.01796, allocations: 110.2 kB / 331.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.01903, allocations: 0.5289 MB / 331.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.01934, allocations: 305.8 kB / 332.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.01945, allocations: 63.3 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.02144, allocations: 1.608 MB / 333.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.02147, allocations: 5.156 kB / 333.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.02155, allocations: 31.23 kB / 333.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.02156, allocations: 13.88 kB / 333.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.02307, allocations: 0.5892 MB / 334.5 MB, free: 9.48 MB / 302.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.003228/0.02629, allocations: 1.523 MB / 336 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.02765, allocations: 0.5771 MB / 336.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.02851, allocations: 373.7 kB / 337 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.02857, allocations: 16.86 kB / 337 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.02862, allocations: 47.66 kB / 337 MB, free: 7.887 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.073e-06/0.02862, allocations: 0 / 337 MB, free: 7.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005425/0.03404, allocations: 1.486 MB / 338.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004663/0.03451, allocations: 0.8233 MB / 339.3 MB, free: 6.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.03534, allocations: 0.609 MB / 339.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.955e-05/0.03544, allocations: 46.27 kB / 340 MB, free: 5.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.03576, allocations: 340.2 kB / 340.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.03602, allocations: 258.5 kB / 340.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.03629, allocations: 146.4 kB / 340.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.03649, allocations: 383.7 kB / 341.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/0.03727, allocations: 353 kB / 341.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.03878, allocations: 1.391 MB / 342.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.04043, allocations: 0.6856 MB / 343.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.04044, allocations: 0 / 343.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00304/0.04348, allocations: 1.166 MB / 344.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.04356, allocations: 85.09 kB / 344.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.04357, allocations: 0 / 344.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008153/0.04438, allocations: 243.2 kB / 345 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.04507, allocations: 139.8 kB / 345.1 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009113/0.05418, allocations: 6.384 MB / 351.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.05554, allocations: 95.61 kB / 351.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.0556, allocations: 23.98 kB / 351.6 MB, free: 9.398 MB / 318.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.0004944/0.0561, allocations: 213.8 kB / 351.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.05627, allocations: 91.47 kB / 351.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.05647, allocations: 91.19 kB / 352 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.05648, allocations: 8 kB / 352 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.05649, allocations: 7.969 kB / 352 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002886/0.05938, allocations: 1.229 MB / 353.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/0.06359, allocations: 1.658 MB / 354.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.06359, allocations: 7.938 kB / 354.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/0.06435, allocations: 143.8 kB / 355.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006062/0.06495, allocations: 198.4 kB / 355.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.065, allocations: 12 kB / 355.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007155/0.07216, allocations: 4.928 MB / 360.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.07216, allocations: 3.984 kB / 360.2 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.07589, allocations: 1.388 MB / 361.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.07635, allocations: 163.2 kB / 361.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.07648, allocations: 20 kB / 361.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.07718, allocations: 51.95 kB / 361.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.07737, allocations: 64.53 kB / 361.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.07742, allocations: 19.98 kB / 361.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.07804, allocations: 435.1 kB / 362.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07804, allocations: 0 / 362.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009511/0.07899, allocations: 283.8 kB / 362.6 MB, free: 13.91 MB / 334.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.0002143/0.0792, allocations: 126.5 kB / 362.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.08173, allocations: 1.396 MB / 364.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.08174, allocations: 8 kB / 364.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.08331, allocations: 0.7456 MB / 364.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.08436, allocations: 227 kB / 365.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.08724, allocations: 1.477 MB / 366.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.08761, allocations: 349.7 kB / 366.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.088, allocations: 102.2 kB / 367 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.0882, allocations: 68.48 kB / 367.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.0882, allocations: 0 / 367.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of Templates: time 0.03409/0.1223, allocations: 19.02 MB / 386.1 MB, free: 6.531 MB / 350.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/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.303252678364515]