Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.00139/0.00139, 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.001518/0.001518, allocations: 204.7 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.503/1.503, 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.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 59.91 kB / 377.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2663, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00507/0.2714, allocations: 3.378 MB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2734, allocations: 0.9596 MB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.2736, allocations: 7.938 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.274, allocations: 111.1 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.2745, allocations: 198.3 kB / 435.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.2748, allocations: 135.8 kB / 435.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007993/0.2756, allocations: 0.6837 MB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.2759, allocations: 118.9 kB / 436.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.2762, allocations: 267 kB / 437 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.2766, allocations: 258.7 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.473e-05/0.2767, allocations: 60 kB / 437.3 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2768, allocations: 60 kB / 437.3 MB, free: 248 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2769, allocations: 123.6 kB / 437.5 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.2772, allocations: 259 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.278, allocations: 0.7042 MB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.278, allocations: 0 / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.278, allocations: 0 / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.278, allocations: 0 / 438.4 MB, free: 15.16 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001674/0.2797, allocations: 0.8333 MB / 439.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.845e-05/0.2798, allocations: 19.92 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.2799, allocations: 79.27 kB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.28, allocations: 64.56 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.2809, allocations: 385 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.281, allocations: 114.3 kB / 439.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.2811, allocations: 32.38 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2826, allocations: 0.8578 MB / 440.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2826, allocations: 3.938 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.2827, allocations: 16 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2827, allocations: 12 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008652/0.2835, allocations: 342.3 kB / 441.2 MB, free: 12.18 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.002221/0.2858, allocations: 1.014 MB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.2864, allocations: 279 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.2868, allocations: 164.8 kB / 442.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.2869, allocations: 7.984 kB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.2869, allocations: 42.56 kB / 442.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.445e-06/0.2869, allocations: 0 / 442.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001653/0.2886, allocations: 0.575 MB / 443.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002821/0.2889, allocations: 448.9 kB / 443.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.2895, allocations: 461.9 kB / 444.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.2895, allocations: 29.7 kB / 444.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.2897, allocations: 248.6 kB / 444.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2899, allocations: 126.9 kB / 444.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.29, allocations: 81.64 kB / 444.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.2902, allocations: 358.8 kB / 444.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.2906, allocations: 173.4 kB / 445.1 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.2914, allocations: 0.6739 MB / 445.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.2922, allocations: 341.1 kB / 446.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2922, allocations: 4 kB / 446.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001149/0.2934, allocations: 0.5036 MB / 446.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.2934, allocations: 29.7 kB / 446.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2934, allocations: 0 / 446.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.2936, allocations: 57.67 kB / 446.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.294, allocations: 83.91 kB / 446.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.297, allocations: 2.738 MB / 449.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.2975, allocations: 63.94 kB / 449.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.2975, allocations: 8 kB / 449.6 MB, free: 3.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002817/0.2978, allocations: 173.7 kB / 449.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2979, allocations: 55.66 kB / 449.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.298, allocations: 56.75 kB / 449.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.298, allocations: 4 kB / 449.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.298, allocations: 3.938 kB / 449.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.2991, allocations: 0.727 MB / 450.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.3008, allocations: 0.9034 MB / 451.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3008, allocations: 3.938 kB / 451.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.3013, allocations: 83.88 kB / 451.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3013, allocations: 0 / 451.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.3013, allocations: 8 kB / 451.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3013, allocations: 0 / 451.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3013, allocations: 3.984 kB / 451.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.3027, allocations: 0.6525 MB / 452.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.3029, allocations: 103.5 kB / 452.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.303, allocations: 8 kB / 452.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.3033, allocations: 23.97 kB / 452.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3034, allocations: 31.95 kB / 452.4 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3034, allocations: 12 kB / 452.4 MB, free: 44 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.3039, allocations: 327.1 kB / 452.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3039, allocations: 0 / 452.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.3044, allocations: 135.9 kB / 452.9 MB, free: 15.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/0.3061, allocations: 1.205 MB / 454.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3074, allocations: 0.6505 MB / 454.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3074, allocations: 0 / 454.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.3078, allocations: 159.8 kB / 454.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.3085, allocations: 145.9 kB / 455 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/0.3158, allocations: 4.636 MB / 459.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3161, allocations: 228.6 kB / 459.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.3164, allocations: 68.34 kB / 460 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.3167, allocations: 175.4 kB / 460.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3167, allocations: 0 / 460.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.3723, allocations: 15.41 MB / 475.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.53, allocations: 8.047 kB / 475.6 MB, free: 9 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_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_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.06591476034373]