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.00165/0.00165, allocations: 113.1 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.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.002083/0.002083, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.00164/0.00164, allocations: 39.94 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 53.37 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004868/0.2543, allocations: 3.536 MB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.2562, allocations: 0.9929 MB / 435.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.2565, allocations: 7.938 kB / 435.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.2569, allocations: 103.1 kB / 435.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.2573, allocations: 194.4 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2576, allocations: 119.8 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.2584, allocations: 0.6448 MB / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2586, allocations: 135.3 kB / 436.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.2589, allocations: 247.1 kB / 437.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.2593, allocations: 282.8 kB / 437.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.2593, allocations: 52 kB / 437.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.2594, allocations: 52 kB / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.2595, allocations: 115.6 kB / 437.6 MB, free: 376 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.2598, allocations: 290.7 kB / 437.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.2605, allocations: 0.6503 MB / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2605, allocations: 0 / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2605, allocations: 0 / 438.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.2606, allocations: 0 / 438.5 MB, free: 15.43 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.001401/0.262, allocations: 0.7828 MB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.262, allocations: 8.031 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.2621, allocations: 75.72 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2622, allocations: 72.56 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.2628, allocations: 341.5 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.263, allocations: 110.7 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.263, allocations: 32.38 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/0.2638, allocations: 470 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2638, allocations: 8 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.2638, allocations: 16 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2638, allocations: 8 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.2644, allocations: 279.8 kB / 440.7 MB, free: 13.11 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.00217/0.2666, allocations: 1.277 MB / 442 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.2677, allocations: 342.1 kB / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.268, allocations: 128.8 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.268, allocations: 11.98 kB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.268, allocations: 38.56 kB / 442.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.432e-06/0.268, allocations: 0 / 442.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001113/0.2691, allocations: 468.1 kB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002567/0.2694, allocations: 445 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.2699, allocations: 450 kB / 443.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.27, allocations: 33.7 kB / 443.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2702, allocations: 232.7 kB / 444.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.2703, allocations: 126.9 kB / 444.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2704, allocations: 70.03 kB / 444.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2706, allocations: 358.8 kB / 444.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2709, allocations: 104.6 kB / 444.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.2712, allocations: 256 kB / 445 MB, free: 8.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.2717, allocations: 273.3 kB / 445.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2717, allocations: 0 / 445.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007573/0.2725, allocations: 428.5 kB / 445.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.2725, allocations: 29.7 kB / 445.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2725, allocations: 4 kB / 445.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.2727, allocations: 49.62 kB / 445.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.273, allocations: 67.91 kB / 445.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.2757, allocations: 2.766 MB / 448.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.276, allocations: 47.77 kB / 448.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2761, allocations: 16 kB / 448.6 MB, free: 4.594 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.0002268/0.2763, allocations: 165.8 kB / 448.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.2764, allocations: 51.72 kB / 448.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2765, allocations: 56.62 kB / 448.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2765, allocations: 4 kB / 448.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2765, allocations: 0 / 448.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007478/0.2772, allocations: 0.6494 MB / 449.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.2786, allocations: 0.8831 MB / 450.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2786, allocations: 0 / 450.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.2789, allocations: 75.89 kB / 450.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2789, allocations: 0 / 450.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.279, allocations: 4 kB / 450.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.279, allocations: 4 kB / 450.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.279, allocations: 0 / 450.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.2798, allocations: 0.5246 MB / 451 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.28, allocations: 91.52 kB / 451.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.2801, allocations: 8 kB / 451.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2804, allocations: 19.98 kB / 451.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.2804, allocations: 19.95 kB / 451.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2805, allocations: 12.06 kB / 451.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000373/0.2808, allocations: 319.1 kB / 451.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2808, allocations: 0 / 451.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000428/0.2813, allocations: 131.9 kB / 451.6 MB, free: 1.414 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.2825, allocations: 1.073 MB / 452.7 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009295/0.2834, allocations: 0.5437 MB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2834, allocations: 3.938 kB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.2837, allocations: 116.4 kB / 453.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.2843, allocations: 137.9 kB / 453.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.2902, allocations: 4.262 MB / 457.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.2907, allocations: 0.8159 MB / 458.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.2909, allocations: 64.34 kB / 458.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.2912, allocations: 159.4 kB / 458.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 9.61e-07/0.2912, allocations: 0 / 458.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.3396, allocations: 13.06 MB / 471.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.37, allocations: 4.75 kB / 471.8 MB, free: 13.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.736074720975012]