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.001525/0.001525, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001659/0.001659, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001496/0.001496, allocations: 44.06 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 53.36 MB / 432.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006971/0.2266, allocations: 5.082 MB / 437.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.2292, allocations: 1.347 MB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.2296, allocations: 11.94 kB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.2301, allocations: 166.5 kB / 439 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.2308, allocations: 337.2 kB / 439.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.2312, allocations: 231.6 kB / 439.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2325, allocations: 1.179 MB / 440.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.2329, allocations: 220.2 kB / 440.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.2335, allocations: 466.4 kB / 441.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006651/0.2342, allocations: 0.5058 MB / 441.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.2343, allocations: 104 kB / 442 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.2345, allocations: 104 kB / 442.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.2347, allocations: 227.2 kB / 442.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.2352, allocations: 0.5172 MB / 442.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.2365, allocations: 1.214 MB / 444.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2365, allocations: 4 kB / 444.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2365, allocations: 0 / 444.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.2365, allocations: 0 / 444.1 MB, free: 11.3 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.002419/0.2389, allocations: 1.284 MB / 445.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.239, allocations: 16.03 kB / 445.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.2391, allocations: 112.3 kB / 445.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.2401, allocations: 0.5273 MB / 446 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.2404, allocations: 297.2 kB / 446.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.2405, allocations: 64.12 kB / 446.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.2419, allocations: 0.8431 MB / 447.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.2419, allocations: 4 kB / 447.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.242, allocations: 28 kB / 447.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.242, allocations: 12 kB / 447.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2434, allocations: 0.6062 MB / 447.8 MB, free: 7.285 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.003577/0.247, allocations: 2.007 MB / 449.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2482, allocations: 0.5934 MB / 450.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.249, allocations: 353 kB / 450.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.2491, allocations: 28.62 kB / 450.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.2491, allocations: 43.22 kB / 450.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.354e-06/0.2491, allocations: 3.938 kB / 450.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005068/0.2542, allocations: 1.484 MB / 452.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004934/0.2547, allocations: 0.8272 MB / 453.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/0.2556, allocations: 0.6333 MB / 453.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.2557, allocations: 41.7 kB / 453.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.256, allocations: 345.3 kB / 454.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.2563, allocations: 261.7 kB / 454.4 MB, free: 348 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.2565, allocations: 146.6 kB / 454.6 MB, free: 196 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.2567, allocations: 382.8 kB / 455 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.2575, allocations: 273.8 kB / 455.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009849/0.2585, allocations: 0.5631 MB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.2599, allocations: 0.6817 MB / 456.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2599, allocations: 0 / 456.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002859/0.2628, allocations: 1.087 MB / 457.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.2629, allocations: 89.09 kB / 457.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2629, allocations: 0 / 457.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006887/0.2636, allocations: 235.2 kB / 457.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.2643, allocations: 135.8 kB / 458 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008381/0.2727, allocations: 6.523 MB / 464.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/0.2736, allocations: 115.4 kB / 464.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.2737, allocations: 24 kB / 464.7 MB, free: 5.445 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.000373/0.274, allocations: 213.7 kB / 464.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.2742, allocations: 87.48 kB / 465 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.2744, allocations: 99.33 kB / 465.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2744, allocations: 8 kB / 465.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2744, allocations: 0 / 465.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00259/0.277, allocations: 1.237 MB / 466.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.2811, allocations: 1.896 MB / 468.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2811, allocations: 0 / 468.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006872/0.2817, allocations: 135.8 kB / 468.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/0.2823, allocations: 194.5 kB / 468.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.2823, allocations: 16 kB / 468.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006799/0.2891, allocations: 5.032 MB / 473.6 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2891, allocations: 8.125 kB / 473.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.2925, allocations: 1.392 MB / 475 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.293, allocations: 163.2 kB / 475.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.2931, allocations: 20 kB / 475.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.2937, allocations: 51.94 kB / 475.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.2939, allocations: 68.72 kB / 475.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.294, allocations: 24.12 kB / 475.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005919/0.2946, allocations: 459 kB / 475.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2946, allocations: 0 / 475.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008417/0.2954, allocations: 275.8 kB / 476 MB, free: 9.539 MB / 382.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.0001797/0.2956, allocations: 127.1 kB / 476.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.2979, allocations: 1.321 MB / 477.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.2979, allocations: 4 kB / 477.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.2992, allocations: 0.7418 MB / 478.2 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3003, allocations: 234.7 kB / 478.4 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.3032, allocations: 1.66 MB / 480.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.3038, allocations: 0.9362 MB / 481 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.304, allocations: 75.42 kB / 481.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.304, allocations: 0 / 481.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02843/0.3325, allocations: 22.66 MB / 0.492 GB, free: 13.67 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.916273443959653]