Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001281/0.001281, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001372/0.001372, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 373 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 53.33 MB / 426.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005325/0.1071, allocations: 3.524 MB / 429.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.109, allocations: 0.9774 MB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1092, allocations: 7.938 kB / 430.8 MB, free: 312 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1095, allocations: 111 kB / 430.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1099, allocations: 190.4 kB / 431.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1896/0.2995, allocations: 117.4 kB / 431.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007925/0.3003, allocations: 0.6328 MB / 431.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.3006, allocations: 141.1 kB / 432 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.3008, allocations: 245.9 kB / 432.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3011, allocations: 275.8 kB / 432.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.3011, allocations: 57.28 kB / 432.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.3012, allocations: 58.16 kB / 432.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.3013, allocations: 114.2 kB / 432.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3015, allocations: 294 kB / 433 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.302, allocations: 0.6438 MB / 433.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.302, allocations: 0 / 433.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.302, allocations: 0 / 433.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.302, allocations: 1.25 kB / 433.7 MB, free: 7.449 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001164/0.3032, allocations: 0.8573 MB / 434.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3032, allocations: 9.625 kB / 434.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.997e-05/0.3033, allocations: 81.42 kB / 434.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3034, allocations: 62.14 kB / 434.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.3039, allocations: 405.3 kB / 435.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/0.304, allocations: 58.7 kB / 435.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.304, allocations: 32.94 kB / 435.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.3047, allocations: 472.7 kB / 435.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3047, allocations: 1.156 kB / 435.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.3047, allocations: 18 kB / 435.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3047, allocations: 11.22 kB / 435.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.3053, allocations: 282.3 kB / 435.9 MB, free: 6.32 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.001832/0.3071, allocations: 1.31 MB / 437.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3082, allocations: 418.2 kB / 437.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.3084, allocations: 126.7 kB / 437.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3085, allocations: 5.609 kB / 437.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3085, allocations: 41.72 kB / 437.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.3085, allocations: 1.125 kB / 437.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00106/0.3095, allocations: 0.6068 MB / 438.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.3096, allocations: 455.6 kB / 438.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.3101, allocations: 448.9 kB / 439.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3101, allocations: 33.39 kB / 439.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3102, allocations: 235.2 kB / 439.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.3103, allocations: 124.2 kB / 439.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3104, allocations: 76.39 kB / 439.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.3105, allocations: 356 kB / 440.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.3107, allocations: 107.9 kB / 440.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.311, allocations: 247.3 kB / 440.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.3115, allocations: 280 kB / 440.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3115, allocations: 0 / 440.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006761/0.3121, allocations: 415.8 kB / 441.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3122, allocations: 33.64 kB / 441.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3122, allocations: 5.016 kB / 441.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.3123, allocations: 54.66 kB / 441.2 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.3126, allocations: 68.5 kB / 441.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.3144, allocations: 2.967 MB / 444.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3147, allocations: 47.12 kB / 444.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.3148, allocations: 13.58 kB / 444.3 MB, free: 64 kB / 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 (36): * Single equations (assignments): 33 * 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.0002116/0.315, allocations: 167 kB / 444.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.3151, allocations: 53.89 kB / 444.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3152, allocations: 55.11 kB / 444.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3152, allocations: 3.594 kB / 444.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3152, allocations: 4.438 kB / 444.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008295/0.316, allocations: 0.6467 MB / 445.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.3175, allocations: 0.9071 MB / 446.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3175, allocations: 1.125 kB / 446.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.3178, allocations: 65.58 kB / 446.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3178, allocations: 6.156 kB / 446.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3178, allocations: 6.734 kB / 446.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3178, allocations: 2.219 kB / 446.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3178, allocations: 0 / 446.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.3187, allocations: 0.5262 MB / 446.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.3189, allocations: 161.3 kB / 446.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.319, allocations: 12.3 kB / 446.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.3193, allocations: 18.77 kB / 446.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.3194, allocations: 21.31 kB / 447 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3194, allocations: 7.109 kB / 447 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.3198, allocations: 322.6 kB / 447.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 64 / 447.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.3202, allocations: 133.5 kB / 447.4 MB, free: 14.04 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 (32): * Single equations (assignments): 32 * 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.001236/0.3215, allocations: 1.071 MB / 448.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009736/0.3224, allocations: 0.5551 MB / 449 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3224, allocations: 1.531 kB / 449 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3227, allocations: 116.5 kB / 449.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.3233, allocations: 136.6 kB / 449.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/0.3294, allocations: 4.249 MB / 453.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.3299, allocations: 0.817 MB / 454.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.3301, allocations: 67.67 kB / 454.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3304, allocations: 165.3 kB / 454.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3304, allocations: 3.938 kB / 454.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/0.3758, allocations: 12.83 MB / 467.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.6, allocations: 7.078 kB / 467.4 MB, free: 4.793 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_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_SimpleCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.070172273000935]