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.001923/0.001923, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002545/0.002545, allocations: 207.2 kB / 23.72 MB, free: 4.391 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.001898/0.001898, allocations: 59.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2456, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006384/0.2519, allocations: 4.52 MB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.2547, allocations: 1.285 MB / 436.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.2551, allocations: 11.94 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.2555, allocations: 158.6 kB / 437.1 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006897/0.2562, allocations: 333.2 kB / 437.4 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.2567, allocations: 231.6 kB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.258, allocations: 1.176 MB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.2584, allocations: 218.5 kB / 439.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.259, allocations: 462.4 kB / 439.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.2596, allocations: 445.9 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2597, allocations: 104 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.2599, allocations: 108 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.2601, allocations: 219.2 kB / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.2606, allocations: 450.1 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2619, allocations: 1.218 MB / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2619, allocations: 0 / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2619, allocations: 0 / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.2619, allocations: 7.875 kB / 442 MB, free: 11.53 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.0025/0.2644, allocations: 1.292 MB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2645, allocations: 11.98 kB / 443.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.2646, allocations: 119.9 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2648, allocations: 112.3 kB / 443.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2659, allocations: 0.539 MB / 444.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.2662, allocations: 301.2 kB / 444.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2663, allocations: 67.89 kB / 444.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.2682, allocations: 1.627 MB / 446.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2682, allocations: 0 / 446.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.2683, allocations: 28 kB / 446.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.2683, allocations: 12 kB / 446.1 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.2698, allocations: 0.6063 MB / 446.7 MB, free: 6.391 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.003305/0.2731, allocations: 1.631 MB / 448.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.2744, allocations: 0.5835 MB / 448.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.2752, allocations: 358.6 kB / 449.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.2753, allocations: 8.656 kB / 449.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.2753, allocations: 59.08 kB / 449.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.2753, allocations: 0 / 449.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004925/0.2803, allocations: 1.484 MB / 450.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004507/0.2807, allocations: 0.8234 MB / 451.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.2816, allocations: 0.6371 MB / 452.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.2816, allocations: 45.7 kB / 452.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.2819, allocations: 345.3 kB / 452.7 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.2822, allocations: 273.8 kB / 453 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.2824, allocations: 138.7 kB / 453.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2826, allocations: 386.8 kB / 453.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.2833, allocations: 350.9 kB / 453.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.2847, allocations: 1.391 MB / 455.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.2861, allocations: 0.6856 MB / 455.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2861, allocations: 0 / 455.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002755/0.2888, allocations: 1.174 MB / 457.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/0.2889, allocations: 89.09 kB / 457.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.2889, allocations: 0 / 457.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.2896, allocations: 235.2 kB / 457.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.2902, allocations: 139.8 kB / 457.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/0.2984, allocations: 6.48 MB / 464 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/0.2993, allocations: 103.7 kB / 464.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.2994, allocations: 23.98 kB / 464.1 MB, free: 3.793 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.0004064/0.2998, allocations: 218.4 kB / 464.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.3, allocations: 95.42 kB / 464.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.3002, allocations: 87.58 kB / 464.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3002, allocations: 8 kB / 464.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3002, allocations: 4 kB / 464.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/0.3028, allocations: 1.237 MB / 465.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/0.3068, allocations: 1.736 MB / 467.5 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3068, allocations: 0 / 467.5 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.3075, allocations: 147.7 kB / 467.6 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005675/0.308, allocations: 198.4 kB / 467.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.3081, allocations: 15.98 kB / 467.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006892/0.315, allocations: 5.005 MB / 472.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.315, allocations: 0 / 472.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.3184, allocations: 1.384 MB / 474.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.3188, allocations: 167.2 kB / 474.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.319, allocations: 20 kB / 474.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.3197, allocations: 51.94 kB / 474.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.3199, allocations: 64.48 kB / 474.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.3199, allocations: 27.92 kB / 474.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006028/0.3205, allocations: 455.1 kB / 475 MB, free: 8.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3205, allocations: 0 / 475 MB, free: 8.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009008/0.3214, allocations: 283.8 kB / 475.3 MB, free: 8.066 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.003796/0.3252, allocations: 1.959 MB / 477.2 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.3279, allocations: 1.396 MB / 478.6 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.328, allocations: 4.125 kB / 478.6 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.3295, allocations: 0.7417 MB / 479.4 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.3308, allocations: 243.2 kB / 479.6 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.3457, allocations: 7.85 MB / 487.5 MB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3461, allocations: 350.2 kB / 487.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.3466, allocations: 106.4 kB / 487.9 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.3471, allocations: 295.3 kB / 488.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3471, allocations: 0 / 488.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07799/0.425, allocations: 28.25 MB / 0.5044 GB, free: 14.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.28, allocations: 0 / 0.5044 GB, free: 14.87 MB / 430.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable heatCapacitor1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.9192586671561]