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.001481/0.001481, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001555/0.001555, allocations: 195.4 kB / 24.49 MB, free: 3.941 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.357/1.357, allocations: 225.7 MB / 253.3 MB, free: 12.83 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 43.94 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2241, allocations: 52.19 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004544/0.2287, allocations: 3.207 MB / 426.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2302, allocations: 0.884 MB / 427.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2304, allocations: 7.938 kB / 427.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.2307, allocations: 115.1 kB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.2312, allocations: 190.4 kB / 427.7 MB, free: 10 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.2315, allocations: 119.8 kB / 427.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007589/0.2322, allocations: 0.6417 MB / 428.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2325, allocations: 135.5 kB / 428.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.2328, allocations: 247.1 kB / 428.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.2331, allocations: 274.8 kB / 429.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.2332, allocations: 52 kB / 429.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2333, allocations: 56 kB / 429.2 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2334, allocations: 119.5 kB / 429.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.2337, allocations: 239 kB / 429.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.2344, allocations: 0.6636 MB / 430.3 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2344, allocations: 0 / 430.3 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2344, allocations: 0 / 430.3 MB, free: 7.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2344, allocations: 0 / 430.3 MB, free: 7.465 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.001421/0.2358, allocations: 0.7854 MB / 431 MB, free: 6.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2359, allocations: 11.97 kB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.392e-05/0.2359, allocations: 13.17 kB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.236, allocations: 79.72 kB / 431.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.2362, allocations: 68.56 kB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.2368, allocations: 337.5 kB / 431.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.237, allocations: 114.7 kB / 431.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.237, allocations: 44.12 kB / 431.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2381, allocations: 0.8434 MB / 432.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2381, allocations: 0 / 432.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.2382, allocations: 16 kB / 432.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.2382, allocations: 8 kB / 432.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.2388, allocations: 295.8 kB / 432.9 MB, free: 4.629 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.002168/0.241, allocations: 1.066 MB / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.242, allocations: 335.7 kB / 434.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.2423, allocations: 140.8 kB / 434.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.2423, allocations: 8 kB / 434.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.2423, allocations: 42.56 kB / 434.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.033e-06/0.2423, allocations: 0 / 434.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004211/0.2465, allocations: 1.646 MB / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002552/0.2491, allocations: 2.345 MB / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005461/0.2496, allocations: 446 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.2497, allocations: 37.7 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.2499, allocations: 240.9 kB / 439.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2501, allocations: 194.3 kB / 439.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.2502, allocations: 106.2 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2504, allocations: 366.7 kB / 439.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.2508, allocations: 218.6 kB / 440 MB, free: 13.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/0.2516, allocations: 0.7414 MB / 440.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.2524, allocations: 453 kB / 441.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2524, allocations: 0 / 441.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001348/0.2537, allocations: 0.703 MB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.2538, allocations: 29.7 kB / 441.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2538, allocations: 0 / 441.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.2541, allocations: 135.3 kB / 442 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.2545, allocations: 99.91 kB / 442.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/0.2598, allocations: 5.543 MB / 447.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.2603, allocations: 32.02 kB / 447.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.2604, allocations: 15.98 kB / 447.7 MB, free: 4.695 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.2607, allocations: 193.8 kB / 447.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2608, allocations: 59.62 kB / 448 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.2609, allocations: 65.34 kB / 448 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2609, allocations: 8 kB / 448.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2609, allocations: 0 / 448.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/0.2624, allocations: 0.9585 MB / 449 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.2649, allocations: 1.311 MB / 450.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2649, allocations: 0 / 450.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.2653, allocations: 83.89 kB / 450.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004826/0.2658, allocations: 174.5 kB / 450.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.2658, allocations: 15.98 kB / 450.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/0.2707, allocations: 4.672 MB / 455.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001577/0.2723, allocations: 1.622 MB / 456.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.2741, allocations: 0.955 MB / 457.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.2744, allocations: 107.6 kB / 457.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.2744, allocations: 15.94 kB / 458 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.2749, allocations: 23.97 kB / 458 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.275, allocations: 52.28 kB / 458 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.275, allocations: 12.09 kB / 458.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.2754, allocations: 323.1 kB / 458.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2754, allocations: 8.062 kB / 458.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006938/0.2761, allocations: 188 kB / 458.6 MB, free: 9.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.2784, allocations: 1.522 MB / 460.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.2801, allocations: 1.001 MB / 461.1 MB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2801, allocations: 4.125 kB / 461.1 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009528/0.281, allocations: 0.6116 MB / 461.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.2818, allocations: 141.5 kB / 461.8 MB, free: 5.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.2897, allocations: 5.393 MB / 467.2 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.29, allocations: 252.1 kB / 467.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.2903, allocations: 76.69 kB / 467.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.2906, allocations: 187.4 kB / 467.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2906, allocations: 0 / 467.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05498/0.3456, allocations: 17.75 MB / 485.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/13.94, allocations: 12 kB / 485.5 MB, free: 14.33 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.271735860966146]