Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 115.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 201 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.524/1.524, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.88 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1074, allocations: 53.29 MB / 428 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.2007/0.3082, allocations: 5.071 MB / 433.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3106, allocations: 1.34 MB / 434.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.3111, allocations: 13.38 kB / 434.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.3116, allocations: 158.1 kB / 434.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.3122, allocations: 338.2 kB / 434.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.3127, allocations: 224 kB / 435.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3138, allocations: 1.177 MB / 436.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.3142, allocations: 226.8 kB / 436.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.3148, allocations: 450.1 kB / 437 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.3154, allocations: 0.5122 MB / 437.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3156, allocations: 108 kB / 437.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3158, allocations: 105.5 kB / 437.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.3159, allocations: 218.4 kB / 437.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.3164, allocations: 0.5228 MB / 438.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.3178, allocations: 1.208 MB / 439.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3178, allocations: 0.75 kB / 439.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3178, allocations: 0 / 439.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.3179, allocations: 0 / 439.7 MB, free: 6.367 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.002587/0.3205, allocations: 1.365 MB / 441 MB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3205, allocations: 10.59 kB / 441 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.3207, allocations: 114.3 kB / 441.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.3218, allocations: 0.5935 MB / 441.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.3219, allocations: 138.7 kB / 441.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.322, allocations: 61.69 kB / 441.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.3235, allocations: 0.8462 MB / 442.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3235, allocations: 1.125 kB / 442.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.3235, allocations: 23.69 kB / 442.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.3236, allocations: 18.11 kB / 442.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.325, allocations: 0.6068 MB / 443.4 MB, free: 4.07 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.003561/0.3285, allocations: 2.053 MB / 445.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.3298, allocations: 0.8077 MB / 446.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.3305, allocations: 354.9 kB / 446.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.3306, allocations: 12.81 kB / 446.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3306, allocations: 52.03 kB / 446.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.216e-06/0.3306, allocations: 0 / 446.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00498/0.3356, allocations: 1.793 MB / 448.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.3358, allocations: 0.8273 MB / 449.3 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.3366, allocations: 0.6294 MB / 450 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3367, allocations: 46.05 kB / 450 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.337, allocations: 343.2 kB / 450.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3373, allocations: 261.3 kB / 450.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.3375, allocations: 152.4 kB / 450.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.3378, allocations: 385.2 kB / 451.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.3385, allocations: 271 kB / 451.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009995/0.3395, allocations: 0.5504 MB / 451.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.3409, allocations: 0.6773 MB / 452.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3409, allocations: 1.062 kB / 452.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00293/0.3438, allocations: 1.088 MB / 453.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.3439, allocations: 89.78 kB / 453.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3439, allocations: 13.56 kB / 453.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/0.3447, allocations: 234.9 kB / 454 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.3453, allocations: 140.7 kB / 454.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008684/0.354, allocations: 6.93 MB / 461.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.3552, allocations: 114.7 kB / 461.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.3553, allocations: 20.62 kB / 461.2 MB, free: 7.266 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.0004808/0.3558, allocations: 220.5 kB / 461.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.356, allocations: 89.33 kB / 461.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3562, allocations: 90.14 kB / 461.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3562, allocations: 10.81 kB / 461.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.3563, allocations: 1.688 kB / 461.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00257/0.3588, allocations: 1.229 MB / 462.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.3632, allocations: 1.924 MB / 464.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3632, allocations: 0 / 464.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.3638, allocations: 140.2 kB / 464.9 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.3644, allocations: 199 kB / 465.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/0.3645, allocations: 16.48 kB / 465.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007476/0.3719, allocations: 5.348 MB / 470.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3719, allocations: 1.281 kB / 470.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/0.3758, allocations: 1.392 MB / 471.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.3765, allocations: 245.6 kB / 472.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.3767, allocations: 19.56 kB / 472.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.3775, allocations: 47.77 kB / 472.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.3777, allocations: 62.12 kB / 472.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.3778, allocations: 21.84 kB / 472.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007345/0.3785, allocations: 456.4 kB / 472.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3785, allocations: 4 kB / 472.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001232/0.3798, allocations: 285.5 kB / 473 MB, free: 14.34 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.0002364/0.38, allocations: 126.1 kB / 473.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.3828, allocations: 1.322 MB / 474.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3828, allocations: 1.375 kB / 474.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.3843, allocations: 0.738 MB / 475.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.3857, allocations: 247.9 kB / 475.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.3892, allocations: 1.651 MB / 477.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.3898, allocations: 0.9384 MB / 478 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.3901, allocations: 71.7 kB / 478.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3901, allocations: 6.531 kB / 478.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.033/0.4231, allocations: 22.67 MB / 0.489 GB, free: 5.496 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.519932009046897]