Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 182.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 43.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00496/0.2467, allocations: 3.711 MB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2483, allocations: 0.9813 MB / 427.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.2485, allocations: 7.938 kB / 427.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.2488, allocations: 107.1 kB / 427.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.2492, allocations: 206.3 kB / 427.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2495, allocations: 123.8 kB / 427.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.2503, allocations: 0.6886 MB / 428.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.2505, allocations: 126.8 kB / 428.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.2508, allocations: 259.1 kB / 428.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.2511, allocations: 294.8 kB / 429.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.2512, allocations: 56 kB / 429.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.2513, allocations: 64 kB / 429.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2514, allocations: 127.5 kB / 429.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.2517, allocations: 314.6 kB / 429.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.2524, allocations: 0.6967 MB / 430.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2524, allocations: 0 / 430.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2524, allocations: 0 / 430.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2524, allocations: 4 kB / 430.4 MB, free: 6.848 MB / 334.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.001526/0.254, allocations: 0.8371 MB / 431.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.254, allocations: 8.031 kB / 431.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.2541, allocations: 71.38 kB / 431.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2542, allocations: 72.52 kB / 431.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.255, allocations: 385 kB / 431.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.2551, allocations: 110.3 kB / 431.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.2552, allocations: 32.36 kB / 431.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008612/0.2561, allocations: 0.4891 MB / 432.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2561, allocations: 0 / 432.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.2561, allocations: 20 kB / 432.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2561, allocations: 8 kB / 432.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.2569, allocations: 338.4 kB / 432.7 MB, free: 4.355 MB / 334.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.00211/0.259, allocations: 1.26 MB / 434 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.2597, allocations: 286.5 kB / 434.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.2601, allocations: 164.8 kB / 434.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.2601, allocations: 8.578 kB / 434.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.2601, allocations: 38.56 kB / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.2601, allocations: 0 / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001527/0.2617, allocations: 0.5765 MB / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002507/0.2619, allocations: 452.9 kB / 435.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.2625, allocations: 461.9 kB / 435.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.2625, allocations: 33.7 kB / 435.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.2627, allocations: 244.6 kB / 436.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2628, allocations: 126.9 kB / 436.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2629, allocations: 73.69 kB / 436.4 MB, free: 440 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2631, allocations: 354.8 kB / 436.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.2635, allocations: 139.9 kB / 436.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.2639, allocations: 282.8 kB / 437.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.2647, allocations: 341.1 kB / 437.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2647, allocations: 4 kB / 437.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009672/0.2656, allocations: 486.1 kB / 438 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.2657, allocations: 29.7 kB / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2657, allocations: 80 / 438 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/0.2659, allocations: 65.64 kB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.2662, allocations: 75.94 kB / 438.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.269, allocations: 2.766 MB / 440.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.2694, allocations: 51.86 kB / 440.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.2694, allocations: 8.234 kB / 440.9 MB, free: 11.52 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.0003064/0.2697, allocations: 173.7 kB / 441.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.2698, allocations: 63.64 kB / 441.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2699, allocations: 52.77 kB / 441.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2699, allocations: 4 kB / 441.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2699, allocations: 3.938 kB / 441.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.2709, allocations: 0.7322 MB / 442 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.2725, allocations: 0.977 MB / 442.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2725, allocations: 3.938 kB / 442.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.2729, allocations: 87.94 kB / 443 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.273, allocations: 0 / 443 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.273, allocations: 8 kB / 443 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.273, allocations: 7.938 kB / 443.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.273, allocations: 0 / 443.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2742, allocations: 0.6485 MB / 443.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.2744, allocations: 95.52 kB / 443.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.2745, allocations: 15.94 kB / 443.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.2748, allocations: 23.97 kB / 443.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.2749, allocations: 27.89 kB / 443.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.2749, allocations: 20.05 kB / 443.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.2753, allocations: 319.1 kB / 444.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2753, allocations: 0 / 444.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.2757, allocations: 143.8 kB / 444.3 MB, free: 7.953 MB / 350.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.001616/0.2773, allocations: 1.219 MB / 445.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2786, allocations: 0.6176 MB / 446.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2786, allocations: 4 kB / 446.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.279, allocations: 167.8 kB / 446.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.2797, allocations: 137.9 kB / 446.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.2864, allocations: 4.522 MB / 451 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.2869, allocations: 0.8314 MB / 451.8 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.2871, allocations: 64.34 kB / 451.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.2874, allocations: 175.4 kB / 452.1 MB, free: 24 kB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2874, allocations: 0 / 452.1 MB, free: 24 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.3346, allocations: 13.98 MB / 466 MB, free: 2.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.59, allocations: 15.53 kB / 466.1 MB, free: 2.316 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.960362017998705]