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.00181/0.00181, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.002206/0.002206, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.45/1.45, allocations: 230.5 MB / 255.4 MB, free: 14.91 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.001971/0.001971, allocations: 67.89 kB / 374.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09858, allocations: 53.32 MB / 428.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1938/0.2924, allocations: 5.058 MB / 433.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.2947, allocations: 1.338 MB / 434.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.295, allocations: 13.78 kB / 434.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.2953, allocations: 161.2 kB / 434.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.2959, allocations: 338.4 kB / 435 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2962, allocations: 220.5 kB / 435.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009722/0.2972, allocations: 1.182 MB / 436.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.2975, allocations: 225.5 kB / 436.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.298, allocations: 462.8 kB / 437.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.2985, allocations: 0.5084 MB / 437.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.2987, allocations: 104.3 kB / 437.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.2988, allocations: 108.8 kB / 437.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.299, allocations: 224.8 kB / 438 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.2994, allocations: 0.519 MB / 438.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3007, allocations: 1.2 MB / 439.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3007, allocations: 5.578 kB / 439.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3007, allocations: 0 / 439.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3007, allocations: 0 / 439.7 MB, free: 6.348 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.002351/0.303, allocations: 1.365 MB / 441.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3031, allocations: 9.375 kB / 441.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.3033, allocations: 114.8 kB / 441.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.3042, allocations: 0.6005 MB / 441.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.3043, allocations: 142 kB / 442 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.3044, allocations: 63.25 kB / 442 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.3058, allocations: 0.842 MB / 442.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3058, allocations: 0 / 442.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3059, allocations: 28.62 kB / 442.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3059, allocations: 13.33 kB / 442.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.3074, allocations: 0.6001 MB / 443.5 MB, free: 4.051 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.003294/0.3107, allocations: 2.059 MB / 445.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3119, allocations: 0.7997 MB / 446.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.3127, allocations: 364.1 kB / 446.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.3127, allocations: 12.12 kB / 446.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3128, allocations: 50.44 kB / 446.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.3128, allocations: 0 / 446.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005137/0.3179, allocations: 1.797 MB / 448.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.318, allocations: 0.826 MB / 449.4 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/0.3188, allocations: 0.6304 MB / 450 MB, free: 48 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.3189, allocations: 46.05 kB / 450.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.3192, allocations: 338.7 kB / 450.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.3195, allocations: 265.7 kB / 450.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.3197, allocations: 149.2 kB / 450.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.32, allocations: 387.8 kB / 451.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.3207, allocations: 271.8 kB / 451.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009939/0.3217, allocations: 0.55 MB / 452 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.3231, allocations: 0.6831 MB / 452.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3231, allocations: 0.625 kB / 452.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002825/0.326, allocations: 1.091 MB / 453.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.326, allocations: 90.52 kB / 453.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.326, allocations: 0 / 453.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.3268, allocations: 232.8 kB / 454.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.3274, allocations: 144.6 kB / 454.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008589/0.336, allocations: 6.926 MB / 461.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.3371, allocations: 109 kB / 461.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.3372, allocations: 26.8 kB / 461.3 MB, free: 7.238 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.0004129/0.3376, allocations: 221.8 kB / 461.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.3378, allocations: 88.67 kB / 461.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.338, allocations: 87.59 kB / 461.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.338, allocations: 6.719 kB / 461.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.338, allocations: 5.25 kB / 461.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/0.3407, allocations: 1.231 MB / 462.9 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.3448, allocations: 1.924 MB / 464.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3448, allocations: 0 / 464.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.3455, allocations: 144.8 kB / 465 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005601/0.3461, allocations: 193.7 kB / 465.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.3462, allocations: 19.05 kB / 465.2 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/0.3533, allocations: 5.352 MB / 470.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3533, allocations: 1.281 kB / 470.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.357, allocations: 1.388 MB / 472 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.3575, allocations: 249.9 kB / 472.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.3577, allocations: 18.34 kB / 472.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.3584, allocations: 48.8 kB / 472.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.3586, allocations: 62.44 kB / 472.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.3586, allocations: 16.38 kB / 472.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006468/0.3593, allocations: 462 kB / 472.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3593, allocations: 0 / 472.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009872/0.3603, allocations: 289.4 kB / 473.1 MB, free: 14.29 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.0001906/0.3605, allocations: 121.7 kB / 473.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.3629, allocations: 1.314 MB / 474.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3629, allocations: 2.375 kB / 474.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.3644, allocations: 0.7444 MB / 475.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.3655, allocations: 248.8 kB / 475.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.3685, allocations: 1.653 MB / 477.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.3691, allocations: 0.9448 MB / 478.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.3693, allocations: 67.56 kB / 478.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3693, allocations: 0 / 478.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02851/0.3978, allocations: 22.67 MB / 0.4891 GB, free: 5.434 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.54794031905476]