Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001277/0.001277, allocations: 112.2 kB / 20.43 MB, free: 1.301 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.00138/0.00138, allocations: 182 kB / 23.72 MB, free: 4.559 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.37/1.37, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.94 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004832/0.2337, allocations: 3.537 MB / 426.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.2354, allocations: 0.9423 MB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.2356, allocations: 11.94 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.2359, allocations: 115.1 kB / 427.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.2363, allocations: 190.4 kB / 427.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.2366, allocations: 123.8 kB / 427.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.2373, allocations: 0.634 MB / 428.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.2376, allocations: 127.3 kB / 428.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.2378, allocations: 251.1 kB / 428.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.2382, allocations: 278.8 kB / 428.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.2383, allocations: 52 kB / 428.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.2383, allocations: 56 kB / 428.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2384, allocations: 111.6 kB / 429 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.2387, allocations: 298.6 kB / 429.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.2394, allocations: 0.6464 MB / 430 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2394, allocations: 0 / 430 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2394, allocations: 0 / 430 MB, free: 7.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.2394, allocations: 4 kB / 430 MB, free: 7.23 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001422/0.2408, allocations: 0.7867 MB / 430.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2409, allocations: 8.031 kB / 430.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.241, allocations: 75.72 kB / 430.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.2411, allocations: 64.56 kB / 430.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.2418, allocations: 337.5 kB / 431.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2419, allocations: 106.7 kB / 431.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.242, allocations: 40.33 kB / 431.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.2428, allocations: 478 kB / 431.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2428, allocations: 0 / 431.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.2428, allocations: 16 kB / 431.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2428, allocations: 11.94 kB / 431.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.2434, allocations: 283.8 kB / 432.1 MB, free: 4.902 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.002258/0.2457, allocations: 1.277 MB / 433.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2468, allocations: 339.4 kB / 433.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.247, allocations: 132.8 kB / 433.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.2471, allocations: 4 kB / 433.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2471, allocations: 38.56 kB / 433.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.2471, allocations: 4 kB / 433.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00111/0.2482, allocations: 460.2 kB / 434.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/0.2485, allocations: 445 kB / 434.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.249, allocations: 453.9 kB / 435.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.2491, allocations: 33.7 kB / 435.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.2493, allocations: 240.7 kB / 435.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2494, allocations: 115 kB / 435.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.2495, allocations: 77.98 kB / 435.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2497, allocations: 354.8 kB / 436.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.25, allocations: 104.6 kB / 436.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.2503, allocations: 260 kB / 436.4 MB, free: 324 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.2508, allocations: 280.6 kB / 436.7 MB, free: 32 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2508, allocations: 0 / 436.7 MB, free: 32 kB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007462/0.2516, allocations: 417.2 kB / 437.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.2516, allocations: 41.14 kB / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2516, allocations: 0 / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.2518, allocations: 53.62 kB / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.2522, allocations: 67.94 kB / 437.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.2549, allocations: 2.77 MB / 440 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.2553, allocations: 35.81 kB / 440.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.2553, allocations: 16 kB / 440.1 MB, free: 12.39 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.0002202/0.2555, allocations: 161.8 kB / 440.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.2556, allocations: 51.67 kB / 440.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2557, allocations: 56.62 kB / 440.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2557, allocations: 4 kB / 440.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2557, allocations: 4 kB / 440.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007487/0.2565, allocations: 0.6534 MB / 441 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.2579, allocations: 0.8714 MB / 441.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2579, allocations: 0 / 441.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.2582, allocations: 75.89 kB / 441.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2582, allocations: 4 kB / 441.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.2583, allocations: 8 kB / 442 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2583, allocations: 96 / 442 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2583, allocations: 3.938 kB / 442 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.2591, allocations: 0.5214 MB / 442.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2593, allocations: 87.62 kB / 442.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.2594, allocations: 8.062 kB / 442.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.2596, allocations: 15.98 kB / 442.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.2597, allocations: 27.94 kB / 442.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.2597, allocations: 12 kB / 442.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00037/0.2601, allocations: 315.1 kB / 442.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2601, allocations: 0 / 442.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.2605, allocations: 135.8 kB / 443.1 MB, free: 9.207 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.001218/0.2618, allocations: 1.068 MB / 444.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009368/0.2627, allocations: 0.5515 MB / 444.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2627, allocations: 4.125 kB / 444.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.2629, allocations: 120.4 kB / 444.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.2636, allocations: 133.8 kB / 444.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/0.2696, allocations: 4.264 MB / 449.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.2701, allocations: 0.8198 MB / 450 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.2704, allocations: 64.34 kB / 450.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.2706, allocations: 159.4 kB / 450.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2706, allocations: 0 / 450.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/0.319, allocations: 13.04 MB / 463.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.83, allocations: 8.047 kB / 463.3 MB, free: 5.066 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.076413866132498]