Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001316/0.001316, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001487/0.001487, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 52.25 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2464, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00429/0.2507, allocations: 3.692 MB / 400 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2523, allocations: 1.035 MB / 401.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2526, allocations: 13.03 kB / 401.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.2529, allocations: 101.7 kB / 401.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.2533, allocations: 206.1 kB / 401.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.2536, allocations: 131 kB / 401.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.2543, allocations: 0.6811 MB / 402.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.2545, allocations: 131.8 kB / 402.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.2548, allocations: 272.3 kB / 402.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.2552, allocations: 289.9 kB / 402.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.854e-05/0.2553, allocations: 61.2 kB / 402.9 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2554, allocations: 57.16 kB / 403 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.2555, allocations: 126.2 kB / 403.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.2557, allocations: 312.5 kB / 403.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006616/0.2564, allocations: 0.6901 MB / 404.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2564, allocations: 5.281 kB / 404.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2564, allocations: 0 / 404.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.2564, allocations: 0 / 404.1 MB, free: 4.082 MB / 318.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.001402/0.2578, allocations: 0.8364 MB / 404.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2578, allocations: 14.42 kB / 405 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.2579, allocations: 73.34 kB / 405 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.258, allocations: 67.59 kB / 405.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.2587, allocations: 379 kB / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/0.2588, allocations: 114.8 kB / 405.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.2589, allocations: 35.31 kB / 405.6 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.2596, allocations: 496 kB / 406.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2596, allocations: 1.375 kB / 406.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.2597, allocations: 20.44 kB / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2597, allocations: 12.22 kB / 406.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.2604, allocations: 340.8 kB / 406.5 MB, free: 2.57 MB / 318.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.001849/0.2623, allocations: 1.265 MB / 407.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.2629, allocations: 277.1 kB / 408 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.2633, allocations: 171.2 kB / 408.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.2633, allocations: 10.28 kB / 408.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2633, allocations: 38.03 kB / 408.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.2633, allocations: 0 / 408.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001465/0.2648, allocations: 0.5753 MB / 408.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.2649, allocations: 444.9 kB / 409.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.2654, allocations: 464.9 kB / 409.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.2654, allocations: 33.02 kB / 409.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2656, allocations: 246.4 kB / 409.9 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.2656, allocations: 132 kB / 410.1 MB, free: 208 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2658, allocations: 76.5 kB / 410.2 MB, free: 164 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2659, allocations: 356.4 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.2663, allocations: 133.5 kB / 410.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.2669, allocations: 287.3 kB / 410.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/0.2676, allocations: 338.8 kB / 411.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2676, allocations: 0.6094 kB / 411.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001058/0.2687, allocations: 486.1 kB / 411.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.2687, allocations: 33 kB / 411.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2687, allocations: 0 / 411.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.2689, allocations: 51.56 kB / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.2693, allocations: 82.56 kB / 411.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.2722, allocations: 2.767 MB / 414.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.2727, allocations: 55.77 kB / 414.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.2727, allocations: 12.88 kB / 414.7 MB, free: 12.31 MB / 334.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.000267/0.273, allocations: 164.1 kB / 414.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.2731, allocations: 58.91 kB / 414.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2732, allocations: 57.64 kB / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2732, allocations: 7.344 kB / 415 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2732, allocations: 3.938 kB / 415 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/0.2742, allocations: 0.7251 MB / 415.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.276, allocations: 0.9822 MB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.276, allocations: 3.938 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.2764, allocations: 88.28 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2764, allocations: 1.312 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.2764, allocations: 10.28 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2764, allocations: 2.062 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2764, allocations: 4 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2777, allocations: 0.6482 MB / 417.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.2779, allocations: 93.3 kB / 417.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.278, allocations: 11.97 kB / 417.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.2784, allocations: 30.38 kB / 417.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.2785, allocations: 28.12 kB / 417.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.2785, allocations: 14.73 kB / 417.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003976/0.2789, allocations: 319.2 kB / 417.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2789, allocations: 0 / 417.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.2794, allocations: 140.9 kB / 418.1 MB, free: 9.898 MB / 334.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.001636/0.281, allocations: 1.21 MB / 419.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.2823, allocations: 0.6232 MB / 419.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.2823, allocations: 1.25 kB / 419.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.2827, allocations: 160.1 kB / 420.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.2834, allocations: 135.7 kB / 420.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.2904, allocations: 4.547 MB / 424.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.2908, allocations: 0.8347 MB / 425.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.2911, allocations: 61.7 kB / 425.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.2914, allocations: 176.3 kB / 425.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2914, allocations: 0 / 425.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/0.3417, allocations: 13.97 MB / 439.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/13.88, allocations: 3.953 kB / 439.8 MB, free: 6.691 MB / 350.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.17763985900092]