Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001419/0.001419, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002588/0.002588, allocations: 206 kB / 23.73 MB, free: 4.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 51.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3044, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00583/0.3102, allocations: 3.369 MB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.3125, allocations: 0.9634 MB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/0.313, allocations: 11.94 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.3134, allocations: 107.1 kB / 435.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007166/0.3141, allocations: 202.3 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.3145, allocations: 131.8 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.3157, allocations: 0.6808 MB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.316, allocations: 126.9 kB / 436.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.3165, allocations: 267 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.317, allocations: 258.7 kB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.3172, allocations: 56 kB / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.3173, allocations: 60 kB / 437.3 MB, free: 440 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3175, allocations: 123.5 kB / 437.4 MB, free: 316 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.3179, allocations: 254.9 kB / 437.6 MB, free: 60 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.3188, allocations: 0.7121 MB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3188, allocations: 0 / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3188, allocations: 0 / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.3188, allocations: 0 / 438.4 MB, free: 15.34 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.001934/0.3208, allocations: 0.8255 MB / 439.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3208, allocations: 12.03 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.321, allocations: 79.33 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3212, allocations: 72.55 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008822/0.3221, allocations: 377 kB / 439.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.3222, allocations: 114.3 kB / 439.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.3223, allocations: 36.38 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.3235, allocations: 0.8617 MB / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3235, allocations: 0 / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.3236, allocations: 16 kB / 440.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.3236, allocations: 8 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.3245, allocations: 346.3 kB / 441.1 MB, free: 12.38 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.002377/0.3269, allocations: 1.01 MB / 442.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.3276, allocations: 286.4 kB / 442.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.328, allocations: 164.7 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3281, allocations: 4 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3281, allocations: 38.56 kB / 442.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.3281, allocations: 4 kB / 442.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001663/0.3298, allocations: 0.5711 MB / 443.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003004/0.3301, allocations: 449 kB / 443.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.3307, allocations: 461.9 kB / 444 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.3307, allocations: 37.7 kB / 444.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.331, allocations: 244.6 kB / 444.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3311, allocations: 130.9 kB / 444.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3313, allocations: 81.58 kB / 444.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.3315, allocations: 354.8 kB / 444.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.3319, allocations: 169.4 kB / 445 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.3327, allocations: 0.6816 MB / 445.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.3335, allocations: 341.2 kB / 446 MB, free: 7.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3335, allocations: 0 / 446 MB, free: 7.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001168/0.3347, allocations: 0.5114 MB / 446.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.3348, allocations: 29.7 kB / 446.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3348, allocations: 0 / 446.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.335, allocations: 49.7 kB / 446.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.3354, allocations: 83.88 kB / 446.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.3385, allocations: 2.75 MB / 449.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.339, allocations: 55.75 kB / 449.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.3391, allocations: 11.98 kB / 449.5 MB, free: 3.258 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.0003248/0.3394, allocations: 181.4 kB / 449.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3395, allocations: 51.91 kB / 449.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.3397, allocations: 52.77 kB / 449.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.3397, allocations: 7.984 kB / 449.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.3397, allocations: 3.938 kB / 449.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.3409, allocations: 0.7309 MB / 450.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.3429, allocations: 0.8912 MB / 451.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3429, allocations: 7.922 kB / 451.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.3434, allocations: 91.88 kB / 451.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3434, allocations: 0 / 451.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.3435, allocations: 12 kB / 451.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3435, allocations: 0 / 451.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3435, allocations: 0 / 451.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.3449, allocations: 0.6534 MB / 452.2 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.3451, allocations: 103.5 kB / 452.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.3452, allocations: 8 kB / 452.3 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.3456, allocations: 27.97 kB / 452.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.3457, allocations: 27.95 kB / 452.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3457, allocations: 4 kB / 452.4 MB, free: 240 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004711/0.3461, allocations: 327.1 kB / 452.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3461, allocations: 0 / 452.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.3467, allocations: 140 kB / 452.8 MB, free: 15.78 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.001916/0.3486, allocations: 1.201 MB / 454 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.35, allocations: 0.6545 MB / 454.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.35, allocations: 0 / 454.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.3505, allocations: 167.9 kB / 454.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.3513, allocations: 140.7 kB / 455 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/0.3594, allocations: 4.641 MB / 459.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3597, allocations: 228.6 kB / 459.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.36, allocations: 68.34 kB / 459.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.3603, allocations: 175.4 kB / 460.1 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3603, allocations: 0 / 460.1 MB, free: 8.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06167/0.422, allocations: 15.41 MB / 475.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.6, allocations: 4.062 kB / 475.5 MB, free: 9.238 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.231714499183]