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.001263/0.001263, allocations: 105.1 kB / 21.22 MB, free: 0.625 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.00142/0.00142, allocations: 215.8 kB / 24.52 MB, free: 3.934 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.738 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 43.94 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 53.35 MB / 431.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004602/0.2465, allocations: 3.22 MB / 435.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2481, allocations: 0.9268 MB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2483, allocations: 11.94 kB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.2486, allocations: 103.1 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.249, allocations: 190.4 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.2492, allocations: 119.8 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.2499, allocations: 0.6419 MB / 437.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2501, allocations: 131.4 kB / 437.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.2504, allocations: 247.1 kB / 437.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.2507, allocations: 274.8 kB / 437.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.2508, allocations: 56 kB / 437.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.2509, allocations: 56 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.251, allocations: 119.6 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.2513, allocations: 243 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.2519, allocations: 0.6558 MB / 438.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2519, allocations: 3.984 kB / 438.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2519, allocations: 0 / 438.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2519, allocations: 0 / 438.8 MB, free: 15.65 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.001323/0.2533, allocations: 0.775 MB / 439.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2533, allocations: 8.031 kB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.434e-05/0.2533, allocations: 21.17 kB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.2534, allocations: 83.59 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2536, allocations: 64.56 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.2541, allocations: 345.5 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.2543, allocations: 110.7 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.2543, allocations: 36.12 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.2553, allocations: 0.8473 MB / 441.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2553, allocations: 3.953 kB / 441.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.2553, allocations: 16 kB / 441.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2553, allocations: 12 kB / 441.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.2559, allocations: 295.8 kB / 441.4 MB, free: 12.81 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.002001/0.2579, allocations: 1.058 MB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2589, allocations: 335.6 kB / 442.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.2593, allocations: 144.8 kB / 442.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2593, allocations: 4 kB / 442.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.2593, allocations: 42.56 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.903e-06/0.2593, allocations: 0 / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004087/0.2634, allocations: 1.65 MB / 444.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002483/0.2659, allocations: 2.339 MB / 447 MB, free: 6.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.2664, allocations: 454 kB / 447.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.2665, allocations: 41.7 kB / 447.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.2667, allocations: 229 kB / 447.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.2668, allocations: 190.3 kB / 447.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.267, allocations: 102.2 kB / 448 MB, free: 5.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2672, allocations: 366.7 kB / 448.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2676, allocations: 226.5 kB / 448.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007494/0.2684, allocations: 0.7453 MB / 449.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/0.2692, allocations: 453.1 kB / 449.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2692, allocations: 128 / 449.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001322/0.2705, allocations: 0.7107 MB / 450.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.2705, allocations: 33.7 kB / 450.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2705, allocations: 0 / 450.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.2708, allocations: 135.3 kB / 450.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.2713, allocations: 99.88 kB / 450.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.2763, allocations: 5.536 MB / 456.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.2768, allocations: 32.27 kB / 456.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.2768, allocations: 23.98 kB / 456.3 MB, free: 12.87 MB / 366.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.0002454/0.2771, allocations: 181.7 kB / 456.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2772, allocations: 59.61 kB / 456.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.2773, allocations: 73.34 kB / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2773, allocations: 4 kB / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2773, allocations: 0 / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/0.2788, allocations: 0.9546 MB / 457.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.2812, allocations: 1.315 MB / 458.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2813, allocations: 0 / 458.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.2817, allocations: 83.89 kB / 459 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.2821, allocations: 162.5 kB / 459.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.2821, allocations: 15.98 kB / 459.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004753/0.2869, allocations: 4.68 MB / 463.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00154/0.2884, allocations: 1.623 MB / 465.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.2902, allocations: 0.9551 MB / 466.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.2905, allocations: 99.62 kB / 466.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.2905, allocations: 23.94 kB / 466.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.2909, allocations: 23.97 kB / 466.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.291, allocations: 48.41 kB / 466.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.2911, allocations: 16 kB / 466.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003832/0.2915, allocations: 323.1 kB / 466.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2915, allocations: 0 / 466.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006752/0.2921, allocations: 192 kB / 467.1 MB, free: 1.379 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.002157/0.2943, allocations: 1.514 MB / 468.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.2959, allocations: 1.013 MB / 469.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.2959, allocations: 7.938 kB / 469.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.2969, allocations: 0.6115 MB / 470.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.2976, allocations: 137.9 kB / 470.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.3054, allocations: 5.389 MB / 475.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3057, allocations: 259.9 kB / 476 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002783/0.306, allocations: 72.75 kB / 476.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.3063, allocations: 187.4 kB / 476.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3063, allocations: 0 / 476.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.3606, allocations: 17.74 MB / 494 MB, free: 6.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.56, allocations: 6.984 kB / 494 MB, free: 6.539 MB / 398.1 MB " [Timeout remaining time 646] (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.950268098968081]