Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001515/0.001515, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001645/0.001645, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 47.92 kB / 378.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2288, allocations: 53.37 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006226/0.235, allocations: 4.983 MB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.2374, allocations: 1.399 MB / 438.2 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.2377, allocations: 15.94 kB / 438.3 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.2381, allocations: 194.3 kB / 438.4 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007017/0.2388, allocations: 396.7 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.2393, allocations: 259.6 kB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.2407, allocations: 1.37 MB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.2411, allocations: 275.5 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.2416, allocations: 0.5255 MB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007008/0.2423, allocations: 0.5758 MB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2425, allocations: 124 kB / 441.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2427, allocations: 120 kB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.2429, allocations: 267 kB / 442.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.2434, allocations: 0.5058 MB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.2447, allocations: 1.42 MB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2447, allocations: 0 / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2447, allocations: 0 / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2448, allocations: 0 / 444.3 MB, free: 10.19 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002491/0.2472, allocations: 1.44 MB / 445.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2473, allocations: 12.03 kB / 445.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.878e-05/0.2474, allocations: 26.08 kB / 445.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.2475, allocations: 128.7 kB / 445.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.2478, allocations: 140.1 kB / 446 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.2487, allocations: 0.5863 MB / 446.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.249, allocations: 309.9 kB / 446.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.2492, allocations: 80.08 kB / 447 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.2512, allocations: 1.876 MB / 448.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2512, allocations: 4 kB / 448.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.2513, allocations: 32 kB / 448.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.2513, allocations: 16 kB / 448.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2526, allocations: 0.6441 MB / 449.5 MB, free: 4.43 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.003839/0.2565, allocations: 2.023 MB / 451.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.2589, allocations: 0.7683 MB / 452.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.2596, allocations: 351.5 kB / 452.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.2597, allocations: 12.59 kB / 452.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.2597, allocations: 63.02 kB / 452.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.2597, allocations: 0 / 452.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.009961/0.2697, allocations: 4.073 MB / 456.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004348/0.274, allocations: 3.637 MB / 460.4 MB, free: 9.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.2751, allocations: 0.7942 MB / 461.2 MB, free: 8.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.2753, allocations: 57.64 kB / 461.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.2756, allocations: 413.5 kB / 461.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.276, allocations: 428.3 kB / 462.1 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.2765, allocations: 238.9 kB / 462.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2766, allocations: 345.9 kB / 462.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2777, allocations: 0.6557 MB / 463.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.2797, allocations: 1.897 MB / 465.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.2818, allocations: 1.268 MB / 466.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2818, allocations: 4 kB / 466.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003397/0.2852, allocations: 1.915 MB / 468.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/0.2852, allocations: 89.09 kB / 468.5 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2853, allocations: 4 kB / 468.5 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.2859, allocations: 287.5 kB / 468.8 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2869, allocations: 207.7 kB / 469 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.2977, allocations: 12.38 MB / 481.4 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.2997, allocations: 203.8 kB / 481.6 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.2998, allocations: 51.94 kB / 481.6 MB, free: 2.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (117): * Single equations (assignments): 103 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (3,1,88.9%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (3,1), (1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004766/0.3003, allocations: 271.5 kB / 481.9 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.3005, allocations: 123.2 kB / 482 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.3007, allocations: 122.8 kB / 482.1 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003127/0.3039, allocations: 1.561 MB / 483.7 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3039, allocations: 0 / 483.7 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004277/0.3081, allocations: 2.242 MB / 485.9 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007041/0.3152, allocations: 3.582 MB / 489.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.3152, allocations: 7.938 kB / 489.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.3161, allocations: 195.7 kB / 489.7 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.3184, allocations: 0.7964 MB / 490.5 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/0.3185, allocations: 35.95 kB / 490.6 MB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.3306, allocations: 10.81 MB / 0.4896 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002354/0.3329, allocations: 2.081 MB / 0.4917 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.3387, allocations: 2.85 MB / 0.4944 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.3393, allocations: 267.2 kB / 0.4947 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.3395, allocations: 36 kB / 0.4947 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.3407, allocations: 111.8 kB / 0.4948 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.3409, allocations: 124.6 kB / 0.495 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.341, allocations: 39.95 kB / 0.495 GB, free: 7.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.3417, allocations: 0.542 MB / 0.4955 GB, free: 7.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3417, allocations: 0 / 0.4955 GB, free: 7.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00149/0.3432, allocations: 0.5938 MB / 0.4961 GB, free: 6.785 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,1,88.9%), (1,1,100.0%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%), (5,11,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006007/0.3492, allocations: 3.432 MB / 0.4994 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003958/0.3532, allocations: 2.669 MB / 0.5021 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3532, allocations: 4 kB / 0.5021 GB, free: 472 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.3558, allocations: 1.533 MB / 0.5036 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.3572, allocations: 290.3 kB / 0.5038 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.3752, allocations: 11.55 MB / 0.5151 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.3758, allocations: 0.4884 MB / 0.5156 GB, free: 2.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006523/0.3764, allocations: 169 kB / 0.5157 GB, free: 1.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000748/0.3772, allocations: 471.2 kB / 0.5162 GB, free: 1.531 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3772, allocations: 0 / 0.5162 GB, free: 1.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2637/0.6409, allocations: 40.87 MB / 0.5561 GB, free: 120.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.19, allocations: 3.781 kB / 0.5561 GB, free: 120.4 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 17.6890840199776]