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.001842/0.001842, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 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.001819/0.001819, allocations: 208 kB / 24.47 MB, free: 3.801 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.399/1.399, allocations: 207.7 MB / 235.3 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] 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.002732/0.002732, allocations: 63.91 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2391, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003987/0.2431, allocations: 3.356 MB / 399.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2445, allocations: 0.9732 MB / 400.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.2447, allocations: 8.812 kB / 400.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.245, allocations: 110.4 kB / 400.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.2454, allocations: 198.2 kB / 401 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.2457, allocations: 135.7 kB / 401.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00066/0.2463, allocations: 0.6857 MB / 401.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.2465, allocations: 122.8 kB / 401.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.2468, allocations: 263.1 kB / 402.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.2471, allocations: 258.7 kB / 402.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.2472, allocations: 57.16 kB / 402.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2473, allocations: 57.91 kB / 402.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.759e-05/0.2474, allocations: 125.2 kB / 402.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.2476, allocations: 255.6 kB / 402.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.2482, allocations: 0.7043 MB / 403.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.2482, allocations: 0 / 403.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2482, allocations: 5.062 kB / 403.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.2482, allocations: 0 / 403.6 MB, free: 4.5 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.001394/0.2496, allocations: 0.836 MB / 404.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2496, allocations: 17.33 kB / 404.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.2497, allocations: 73.88 kB / 404.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2499, allocations: 69.45 kB / 404.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.2505, allocations: 380.1 kB / 405 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.2506, allocations: 111.6 kB / 405.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.2507, allocations: 30.28 kB / 405.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.2515, allocations: 0.8668 MB / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2515, allocations: 1.375 kB / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.2516, allocations: 16.19 kB / 406 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.2516, allocations: 12.12 kB / 406 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.2524, allocations: 339.3 kB / 406.3 MB, free: 2.527 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.001743/0.2541, allocations: 1.024 MB / 407.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.2547, allocations: 276.5 kB / 407.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.2551, allocations: 171.4 kB / 407.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.2551, allocations: 9.719 kB / 407.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2552, allocations: 38.16 kB / 407.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.2552, allocations: 0 / 407.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001431/0.2566, allocations: 0.5726 MB / 408.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.2567, allocations: 445.4 kB / 408.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.2571, allocations: 465 kB / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.2571, allocations: 33.7 kB / 409.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2573, allocations: 245.2 kB / 409.6 MB, free: 472 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.2574, allocations: 124.2 kB / 409.7 MB, free: 372 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2575, allocations: 80.23 kB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2576, allocations: 357.9 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.258, allocations: 164.7 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.2588, allocations: 0.6795 MB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.2596, allocations: 338.5 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2596, allocations: 0 / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001085/0.2606, allocations: 0.5052 MB / 411.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.2607, allocations: 31.75 kB / 411.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2607, allocations: 1.406 kB / 411.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.2609, allocations: 51.67 kB / 411.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.2613, allocations: 79.81 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.2641, allocations: 2.758 MB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.2646, allocations: 49.27 kB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.2647, allocations: 15.61 kB / 414.8 MB, free: 11.97 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.0002934/0.265, allocations: 174.1 kB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2651, allocations: 53.83 kB / 415 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.2652, allocations: 53.72 kB / 415.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.2652, allocations: 4 kB / 415.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2652, allocations: 3.938 kB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.2663, allocations: 0.7198 MB / 415.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.268, allocations: 0.9047 MB / 416.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.268, allocations: 4.172 kB / 416.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.2685, allocations: 88.53 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2685, allocations: 1.719 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.2685, allocations: 9.875 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2685, allocations: 5.844 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2685, allocations: 3.984 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2699, allocations: 0.6446 MB / 417.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.2702, allocations: 103 kB / 417.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.2703, allocations: 11.38 kB / 417.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.2707, allocations: 30.62 kB / 417.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.2707, allocations: 27.81 kB / 417.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.2708, allocations: 14.83 kB / 417.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.2712, allocations: 323.3 kB / 418 MB, free: 9.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2712, allocations: 0 / 418 MB, free: 9.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005166/0.2717, allocations: 140.2 kB / 418.1 MB, free: 9.629 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.001754/0.2735, allocations: 1.203 MB / 419.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.2749, allocations: 0.6446 MB / 419.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2749, allocations: 1.125 kB / 419.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.2753, allocations: 164.6 kB / 420.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.276, allocations: 144.4 kB / 420.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.2832, allocations: 4.639 MB / 424.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2835, allocations: 228 kB / 425.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.2838, allocations: 63.25 kB / 425.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.2841, allocations: 175.2 kB / 425.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2841, allocations: 7.938 kB / 425.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.3346, allocations: 15.4 MB / 440.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.47, allocations: 11.95 kB / 440.8 MB, free: 5.32 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: 15.915917702950537]