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.001585/0.001585, allocations: 110 kB / 20.43 MB, free: 1.453 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.001488/0.001488, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.376/1.376, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 55.91 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2244, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00621/0.2306, allocations: 5.094 MB / 436.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.2331, allocations: 1.347 MB / 437.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.2336, allocations: 11.94 kB / 437.6 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.234, allocations: 158.6 kB / 437.8 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007182/0.2347, allocations: 337.2 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.2352, allocations: 235.6 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.2365, allocations: 1.172 MB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.2369, allocations: 215.6 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.2374, allocations: 474.3 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.238, allocations: 0.5019 MB / 440.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.2381, allocations: 104 kB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.2383, allocations: 108 kB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.2385, allocations: 223.2 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.239, allocations: 0.5211 MB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.2403, allocations: 1.21 MB / 442.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2403, allocations: 4 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2403, allocations: 3.938 kB / 442.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2403, allocations: 0 / 442.9 MB, free: 10.96 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.002368/0.2427, allocations: 1.292 MB / 444.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2427, allocations: 8.031 kB / 444.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.2429, allocations: 119.9 kB / 444.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2431, allocations: 112.3 kB / 444.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.244, allocations: 0.5273 MB / 444.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.2443, allocations: 305.2 kB / 445.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.2444, allocations: 67.88 kB / 445.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.2459, allocations: 0.8665 MB / 446.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2459, allocations: 3.953 kB / 446.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.246, allocations: 28 kB / 446.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.246, allocations: 20 kB / 446.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.2473, allocations: 0.6063 MB / 446.8 MB, free: 6.773 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.003419/0.2508, allocations: 2.046 MB / 448.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.252, allocations: 0.5804 MB / 449.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.2528, allocations: 358.6 kB / 449.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.2528, allocations: 12.64 kB / 449.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.2529, allocations: 55.16 kB / 449.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.923e-06/0.2529, allocations: 0 / 449.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004826/0.2577, allocations: 1.484 MB / 451.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004966/0.2582, allocations: 0.8234 MB / 452.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.2591, allocations: 0.6409 MB / 452.8 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.2591, allocations: 45.7 kB / 452.8 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.2594, allocations: 345.3 kB / 453.2 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.2598, allocations: 265.8 kB / 453.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.26, allocations: 146.7 kB / 453.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003013/0.2603, allocations: 382.8 kB / 453.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.261, allocations: 273.8 kB / 454.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.2621, allocations: 0.5546 MB / 454.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2634, allocations: 0.6817 MB / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2634, allocations: 0 / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002692/0.2661, allocations: 1.091 MB / 456.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.2662, allocations: 85.11 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2662, allocations: 3.984 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/0.2668, allocations: 235.2 kB / 456.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.2675, allocations: 135.8 kB / 457 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008307/0.2758, allocations: 6.534 MB / 463.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.2766, allocations: 95.61 kB / 463.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.2767, allocations: 27.98 kB / 463.6 MB, free: 4.902 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.0003512/0.277, allocations: 221.7 kB / 463.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.2772, allocations: 95.42 kB / 464 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.2774, allocations: 87.34 kB / 464 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2774, allocations: 11.98 kB / 464.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2774, allocations: 0 / 464.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00249/0.2799, allocations: 1.229 MB / 465.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.2837, allocations: 1.884 MB / 467.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2837, allocations: 7.984 kB / 467.2 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.2844, allocations: 139.8 kB / 467.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.285, allocations: 202.5 kB / 467.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.285, allocations: 16 kB / 467.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/0.2919, allocations: 5.049 MB / 472.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2919, allocations: 4.031 kB / 472.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.2952, allocations: 1.38 MB / 474 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.2956, allocations: 167.2 kB / 474.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2957, allocations: 20 kB / 474.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000612/0.2963, allocations: 52.08 kB / 474.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.2965, allocations: 72.47 kB / 474.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.2965, allocations: 19.94 kB / 474.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005715/0.2971, allocations: 459 kB / 474.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2971, allocations: 0 / 474.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008507/0.298, allocations: 287.7 kB / 475 MB, free: 8.973 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.003594/0.3015, allocations: 1.963 MB / 477 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.3039, allocations: 1.313 MB / 478.3 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.3039, allocations: 8.234 kB / 478.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.3053, allocations: 0.7494 MB / 479 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3063, allocations: 238.4 kB / 479.3 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.3192, allocations: 7.535 MB / 486.8 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.3198, allocations: 0.944 MB / 487.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.3202, allocations: 106.4 kB / 487.9 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.3206, allocations: 299.3 kB / 488.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3206, allocations: 0 / 488.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07477/0.3954, allocations: 26.61 MB / 0.5027 GB, free: 1.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.06, allocations: 3.938 kB / 0.5027 GB, free: 1.195 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 16.405708610080183]