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.00189/0.00189, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002119/0.002119, allocations: 212.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 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.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 47.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2361, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00628/0.2424, allocations: 5.086 MB / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.2449, allocations: 1.347 MB / 437.6 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.2452, allocations: 11.94 kB / 437.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.2456, allocations: 162.5 kB / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.2462, allocations: 337.2 kB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2467, allocations: 231.6 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.2479, allocations: 1.172 MB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.2483, allocations: 215.6 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.2488, allocations: 470.3 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.2494, allocations: 0.5097 MB / 440.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.2496, allocations: 104 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2497, allocations: 104 kB / 440.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.2499, allocations: 227.2 kB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.2504, allocations: 0.5172 MB / 441.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2516, allocations: 1.21 MB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2516, allocations: 7.938 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2516, allocations: 0 / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2516, allocations: 4 kB / 442.8 MB, free: 11.11 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.002373/0.254, allocations: 1.288 MB / 444.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.254, allocations: 8.031 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.2542, allocations: 119.9 kB / 444.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.2544, allocations: 112.3 kB / 444.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.2554, allocations: 0.5312 MB / 444.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.2556, allocations: 297.2 kB / 445.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.2557, allocations: 59.94 kB / 445.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.2572, allocations: 0.8789 MB / 446.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2572, allocations: 7.953 kB / 446.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.2573, allocations: 28 kB / 446.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2573, allocations: 12 kB / 446.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.2587, allocations: 0.6063 MB / 446.7 MB, free: 6.934 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.00338/0.262, allocations: 2.046 MB / 448.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.2633, allocations: 0.5965 MB / 449.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.2641, allocations: 350.6 kB / 449.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.2641, allocations: 24.64 kB / 449.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2642, allocations: 47.16 kB / 449.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.913e-06/0.2642, allocations: 0 / 449.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004864/0.269, allocations: 1.488 MB / 451.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004312/0.2695, allocations: 0.8234 MB / 452.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.2703, allocations: 0.641 MB / 452.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.2703, allocations: 41.7 kB / 452.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.2706, allocations: 345.3 kB / 453.1 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.2708, allocations: 269.8 kB / 453.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.2711, allocations: 138.7 kB / 453.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2713, allocations: 386.8 kB / 453.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.2719, allocations: 277.8 kB / 454.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009109/0.2728, allocations: 0.5546 MB / 454.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.2742, allocations: 0.6817 MB / 455.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2742, allocations: 0 / 455.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002618/0.2768, allocations: 1.087 MB / 456.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.2769, allocations: 85.09 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2769, allocations: 4 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006956/0.2776, allocations: 235.2 kB / 456.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.2782, allocations: 135.8 kB / 457 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/0.2865, allocations: 6.526 MB / 463.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/0.2873, allocations: 103.6 kB / 463.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.2874, allocations: 24 kB / 463.6 MB, free: 5.059 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.0003528/0.2877, allocations: 217.7 kB / 463.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.2879, allocations: 99.36 kB / 463.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2881, allocations: 91.33 kB / 464 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.2881, allocations: 8 kB / 464 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2881, allocations: 0 / 464 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/0.2906, allocations: 1.233 MB / 465.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/0.2944, allocations: 1.896 MB / 467.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2944, allocations: 0 / 467.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.2951, allocations: 139.8 kB / 467.3 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/0.2956, allocations: 198.5 kB / 467.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.2957, allocations: 19.98 kB / 467.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006628/0.3023, allocations: 5.043 MB / 472.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3023, allocations: 4.125 kB / 472.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.3055, allocations: 1.388 MB / 473.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.3059, allocations: 167.2 kB / 474.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.306, allocations: 16 kB / 474.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.3066, allocations: 51.95 kB / 474.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.3068, allocations: 72.47 kB / 474.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.3068, allocations: 23.92 kB / 474.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005611/0.3074, allocations: 455.1 kB / 474.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3074, allocations: 0 / 474.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.3082, allocations: 283.7 kB / 475 MB, free: 9.129 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.003503/0.3117, allocations: 1.966 MB / 476.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.314, allocations: 1.309 MB / 478.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.314, allocations: 0 / 478.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.3153, allocations: 0.7496 MB / 479 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.3163, allocations: 245.6 kB / 479.2 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.3293, allocations: 7.532 MB / 486.8 MB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.3299, allocations: 0.9401 MB / 487.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.3303, allocations: 106.4 kB / 487.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.3307, allocations: 303.3 kB / 488.1 MB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3307, allocations: 0 / 488.1 MB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0757/0.4064, allocations: 26.62 MB / 0.5027 GB, free: 1.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/14.71, allocations: 7.844 kB / 0.5027 GB, free: 1.395 MB / 414.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] 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: 17.08324171998538]