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.001288/0.001288, 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.001402/0.001402, allocations: 213.5 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.992 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: 67.88 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2243, allocations: 53.42 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006435/0.2307, allocations: 5.078 MB / 436.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2332, allocations: 1.344 MB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.2335, allocations: 15.88 kB / 437.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.2339, allocations: 154.6 kB / 437.8 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.2345, allocations: 333.3 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.235, allocations: 243.4 kB / 438.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.2363, allocations: 1.18 MB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.2367, allocations: 219.6 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.2372, allocations: 470.3 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.2378, allocations: 0.5019 MB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.238, allocations: 104 kB / 440.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.2381, allocations: 104 kB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.2383, allocations: 227.2 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000507/0.2388, allocations: 0.5172 MB / 441.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2401, allocations: 1.213 MB / 442.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2401, allocations: 4 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2401, allocations: 0 / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.2401, allocations: 0 / 442.9 MB, free: 10.97 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.002541/0.2427, allocations: 1.288 MB / 444.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2427, allocations: 12.03 kB / 444.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.2429, allocations: 119.9 kB / 444.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2431, allocations: 112.3 kB / 444.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2441, allocations: 0.5311 MB / 444.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.2444, allocations: 305.2 kB / 445.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2445, allocations: 63.94 kB / 445.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.246, allocations: 0.8626 MB / 446.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.246, allocations: 3.953 kB / 446.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.2461, allocations: 28 kB / 446.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2461, allocations: 20 kB / 446.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2475, allocations: 0.6063 MB / 446.8 MB, free: 6.785 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.003487/0.251, allocations: 2.046 MB / 448.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.2522, allocations: 0.5842 MB / 449.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007913/0.253, allocations: 358.6 kB / 449.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.827e-05/0.2531, allocations: 12.64 kB / 449.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.2531, allocations: 51.22 kB / 449.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.944e-06/0.2531, allocations: 0 / 449.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005062/0.2582, allocations: 1.492 MB / 451.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004536/0.2586, allocations: 0.8234 MB / 452.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.2595, allocations: 0.6409 MB / 452.8 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.068e-05/0.2595, allocations: 45.7 kB / 452.8 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.2598, allocations: 341.3 kB / 453.2 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.2601, allocations: 273.8 kB / 453.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.2603, allocations: 146.7 kB / 453.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.2605, allocations: 382.8 kB / 454 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006668/0.2612, allocations: 273.8 kB / 454.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.2621, allocations: 0.5546 MB / 454.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2635, allocations: 0.6817 MB / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2635, allocations: 0 / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002676/0.2662, allocations: 1.091 MB / 456.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.2663, allocations: 85.11 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2663, allocations: 0 / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.267, allocations: 235.2 kB / 456.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.2676, allocations: 139.8 kB / 457 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00826/0.2759, allocations: 6.532 MB / 463.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.2768, allocations: 95.61 kB / 463.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.2769, allocations: 27.98 kB / 463.7 MB, free: 4.906 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.0003881/0.2773, allocations: 217.9 kB / 463.9 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.2774, allocations: 91.42 kB / 464 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.2776, allocations: 99.33 kB / 464 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2776, allocations: 8 kB / 464.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2776, allocations: 0 / 464.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002572/0.2802, allocations: 1.233 MB / 465.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/0.2841, allocations: 1.888 MB / 467.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2841, allocations: 0 / 467.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/0.2848, allocations: 139.8 kB / 467.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005504/0.2854, allocations: 206.4 kB / 467.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.2854, allocations: 12 kB / 467.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/0.2921, allocations: 5.048 MB / 472.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2921, allocations: 0 / 472.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/0.2954, allocations: 1.388 MB / 474 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.2958, allocations: 171.2 kB / 474.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.2959, allocations: 20 kB / 474.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.2966, allocations: 51.95 kB / 474.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.2967, allocations: 64.53 kB / 474.3 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.2968, allocations: 19.94 kB / 474.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005886/0.2974, allocations: 459 kB / 474.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2974, allocations: 0 / 474.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008717/0.2982, allocations: 287.7 kB / 475 MB, free: 8.98 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.003619/0.3018, allocations: 1.963 MB / 477 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.3042, allocations: 1.313 MB / 478.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.3042, allocations: 8.234 kB / 478.3 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.3056, allocations: 0.7455 MB / 479 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/0.3066, allocations: 246.3 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.0131/0.3197, allocations: 7.532 MB / 486.8 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.3203, allocations: 0.944 MB / 487.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004235/0.3207, allocations: 102.4 kB / 487.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.3211, allocations: 299.3 kB / 488.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3211, allocations: 0 / 488.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07296/0.3941, allocations: 26.61 MB / 0.5027 GB, free: 1.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.58, allocations: 4 kB / 0.5027 GB, free: 1.199 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.079861315000016]