Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001369/0.001369, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001468/0.001468, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0.75 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.904e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006494/0.006523, allocations: 4.533 MB / 329.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.009685, allocations: 1.282 MB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.01017, allocations: 12.66 kB / 330.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.01067, allocations: 163.2 kB / 331 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008202/0.01149, allocations: 353.6 kB / 331.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.01206, allocations: 230.8 kB / 331.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.01346, allocations: 1.223 MB / 332.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.01385, allocations: 219.1 kB / 333 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/0.01474, allocations: 0.6772 MB / 333.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.0153, allocations: 384.3 kB / 334 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.01545, allocations: 104 kB / 334.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.01565, allocations: 105.2 kB / 334.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.01587, allocations: 233.7 kB / 334.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.01634, allocations: 383 kB / 334.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.0177, allocations: 1.25 MB / 336.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.0177, allocations: 0 / 336.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0177, allocations: 0 / 336.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.01772, allocations: 5.156 kB / 336.1 MB, free: 9.078 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.002586/0.0203, allocations: 1.284 MB / 337.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.02034, allocations: 13.36 kB / 337.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.02055, allocations: 114.8 kB / 337.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.02175, allocations: 0.5296 MB / 338.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.02205, allocations: 298.6 kB / 338.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.02215, allocations: 53.97 kB / 338.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.0242, allocations: 1.605 MB / 340 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.02422, allocations: 3.938 kB / 340 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.02429, allocations: 28 kB / 340 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.02431, allocations: 20 kB / 340 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.02583, allocations: 0.5945 MB / 340.6 MB, free: 4.984 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.00434/0.03017, allocations: 1.523 MB / 342.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.03204, allocations: 0.5822 MB / 342.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.03327, allocations: 364 kB / 343.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/0.03334, allocations: 12.66 kB / 343.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.0334, allocations: 47.22 kB / 343.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.567e-06/0.0334, allocations: 0 / 343.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.007508/0.04091, allocations: 1.484 MB / 344.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006043/0.04151, allocations: 0.8234 MB / 345.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.04266, allocations: 0.6057 MB / 346.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.0428, allocations: 41.7 kB / 346.1 MB, free: 15.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.04321, allocations: 349.2 kB / 346.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.04357, allocations: 261.6 kB / 346.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.04394, allocations: 146.7 kB / 346.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.0442, allocations: 382.8 kB / 347.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.04529, allocations: 355 kB / 347.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.04731, allocations: 1.387 MB / 349 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.04956, allocations: 0.674 MB / 349.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.04957, allocations: 0 / 349.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004292/0.05386, allocations: 1.17 MB / 350.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.05395, allocations: 85.11 kB / 350.9 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.05396, allocations: 0 / 350.9 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.05505, allocations: 243.1 kB / 351.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/0.05601, allocations: 135.8 kB / 351.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.06854, allocations: 6.386 MB / 357.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.07004, allocations: 99.61 kB / 357.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/0.07014, allocations: 24.06 kB / 357.8 MB, free: 2.699 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.0005921/0.07073, allocations: 225.6 kB / 358 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.07102, allocations: 87.48 kB / 358.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.07125, allocations: 86.95 kB / 358.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.07127, allocations: 8 kB / 358.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.07127, allocations: 0 / 358.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003294/0.07457, allocations: 1.237 MB / 359.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.07862, allocations: 1.666 MB / 361.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.07862, allocations: 3.938 kB / 361.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.07936, allocations: 135.8 kB / 361.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/0.07997, allocations: 198.5 kB / 361.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.08002, allocations: 15.98 kB / 361.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007663/0.08768, allocations: 4.933 MB / 366.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.08768, allocations: 4.188 kB / 366.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.09149, allocations: 1.388 MB / 367.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.09197, allocations: 179.1 kB / 367.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.09209, allocations: 16 kB / 367.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/0.09279, allocations: 47.95 kB / 368 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.09298, allocations: 64.53 kB / 368 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.09303, allocations: 20 kB / 368.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005956/0.09362, allocations: 435.1 kB / 368.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09362, allocations: 4 kB / 368.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009517/0.09458, allocations: 283.7 kB / 368.8 MB, free: 7.188 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.0002099/0.09479, allocations: 115.2 kB / 368.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.09732, allocations: 1.396 MB / 370.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.09732, allocations: 4 kB / 370.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.09888, allocations: 0.7457 MB / 371 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.0999, allocations: 222.8 kB / 371.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.1028, allocations: 1.493 MB / 372.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1031, allocations: 345.7 kB / 373.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003786/0.1035, allocations: 98.17 kB / 373.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.1037, allocations: 64.5 kB / 373.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1037, allocations: 0 / 373.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of Templates: time 0.03274/0.1364, allocations: 19.01 MB / 392.2 MB, free: 15.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.334307283163071]