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.001276/0.001276, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001399/0.001399, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001526/0.001526, allocations: 51.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2388, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00484/0.2436, allocations: 3.208 MB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2456, allocations: 0.9306 MB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.2458, allocations: 15.94 kB / 435.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.2462, allocations: 99.12 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.2466, allocations: 190.4 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.2469, allocations: 123.8 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.2477, allocations: 0.6418 MB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2479, allocations: 131.5 kB / 436.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.2482, allocations: 247.1 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.2485, allocations: 274.8 kB / 436.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.2486, allocations: 56 kB / 437 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.2487, allocations: 52 kB / 437 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2488, allocations: 123.6 kB / 437.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.2491, allocations: 235 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.2498, allocations: 0.6633 MB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2498, allocations: 4 kB / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2498, allocations: 0 / 438 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.2498, allocations: 4 kB / 438 MB, free: 15.61 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.001413/0.2512, allocations: 0.7711 MB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2513, allocations: 12.03 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.2514, allocations: 87.66 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2515, allocations: 64.59 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.2521, allocations: 337.5 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.2523, allocations: 114.7 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.2523, allocations: 32.38 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.2533, allocations: 0.8394 MB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2533, allocations: 4 kB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.2534, allocations: 16 kB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.2534, allocations: 8 kB / 440.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.254, allocations: 279.8 kB / 440.6 MB, free: 12.82 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.002029/0.256, allocations: 1.031 MB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2571, allocations: 339.4 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.2574, allocations: 128.8 kB / 442.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.2574, allocations: 4 kB / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.2575, allocations: 42.55 kB / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.2575, allocations: 0 / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001131/0.2586, allocations: 467.3 kB / 442.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002489/0.2588, allocations: 441 kB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.2594, allocations: 454 kB / 443.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2594, allocations: 33.8 kB / 443.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.2596, allocations: 248.5 kB / 443.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2597, allocations: 111 kB / 443.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2599, allocations: 81.95 kB / 443.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2601, allocations: 362.8 kB / 444.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.2603, allocations: 130.3 kB / 444.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.261, allocations: 0.6556 MB / 445.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.2615, allocations: 273.3 kB / 445.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2615, allocations: 0 / 445.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007713/0.2622, allocations: 450.2 kB / 445.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.2623, allocations: 33.7 kB / 445.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2623, allocations: 4 kB / 445.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.2624, allocations: 53.62 kB / 445.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.2628, allocations: 63.91 kB / 445.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.2654, allocations: 2.754 MB / 448.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.2657, allocations: 39.77 kB / 448.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2657, allocations: 12 kB / 448.7 MB, free: 4.027 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 (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.000218/0.266, allocations: 174.8 kB / 448.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.266, allocations: 51.67 kB / 448.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.2661, allocations: 52.64 kB / 449 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2661, allocations: 8 kB / 449 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2661, allocations: 0 / 449 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007403/0.2669, allocations: 0.6531 MB / 449.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.2682, allocations: 0.8013 MB / 450.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2682, allocations: 4 kB / 450.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.2686, allocations: 71.89 kB / 450.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2686, allocations: 0 / 450.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.2686, allocations: 12 kB / 450.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2686, allocations: 0 / 450.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2686, allocations: 0 / 450.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/0.2694, allocations: 0.5167 MB / 451.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.2696, allocations: 87.59 kB / 451.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/0.2697, allocations: 11.98 kB / 451.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.27, allocations: 16 kB / 451.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.2701, allocations: 15.95 kB / 451.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2701, allocations: 20 kB / 451.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.2704, allocations: 315.1 kB / 451.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2704, allocations: 4 kB / 451.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.2709, allocations: 131.9 kB / 451.6 MB, free: 0.9219 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 (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.001247/0.2722, allocations: 1.076 MB / 452.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.2732, allocations: 0.5726 MB / 453.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2732, allocations: 3.938 kB / 453.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.2734, allocations: 119.8 kB / 453.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006829/0.2741, allocations: 134 kB / 453.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.2805, allocations: 4.365 MB / 457.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2807, allocations: 212.5 kB / 458.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.281, allocations: 60.36 kB / 458.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.2813, allocations: 167.4 kB / 458.3 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2813, allocations: 0 / 458.3 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.3313, allocations: 14.49 MB / 472.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.12, allocations: 8 kB / 472.8 MB, free: 11.86 MB / 382.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.500763732008636]