Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2272, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006162/0.2333, allocations: 4.985 MB / 436.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.2359, allocations: 1.406 MB / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.2362, allocations: 19.88 kB / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.2366, allocations: 186.3 kB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000716/0.2373, allocations: 400.7 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.2378, allocations: 263.6 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.2392, allocations: 1.366 MB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.2397, allocations: 275.8 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.2402, allocations: 0.5217 MB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.2409, allocations: 0.5797 MB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.2411, allocations: 120 kB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.2413, allocations: 120 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.2415, allocations: 263 kB / 442.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.2421, allocations: 0.5174 MB / 442.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2434, allocations: 1.42 MB / 444.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2434, allocations: 0 / 444.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2434, allocations: 0 / 444.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2435, allocations: 0 / 444.3 MB, free: 9.977 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.002474/0.2459, allocations: 1.436 MB / 445.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.246, allocations: 12.03 kB / 445.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.211e-05/0.246, allocations: 30.12 kB / 445.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.2462, allocations: 128.7 kB / 445.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.2464, allocations: 140.1 kB / 446.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.2474, allocations: 0.5784 MB / 446.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.2477, allocations: 317.9 kB / 446.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2478, allocations: 80.08 kB / 447 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.2498, allocations: 1.869 MB / 448.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2498, allocations: 4 kB / 448.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.2499, allocations: 36 kB / 448.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.2499, allocations: 16 kB / 448.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2512, allocations: 0.6519 MB / 449.6 MB, free: 4.215 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.003814/0.255, allocations: 2.023 MB / 451.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.2574, allocations: 0.7635 MB / 452.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.2581, allocations: 343.5 kB / 452.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.2581, allocations: 8.656 kB / 452.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.2582, allocations: 71 kB / 452.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.254e-06/0.2582, allocations: 0 / 452.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.00948/0.2676, allocations: 4.071 MB / 456.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004286/0.2719, allocations: 3.636 MB / 460.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.2729, allocations: 0.7903 MB / 461.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.401e-05/0.273, allocations: 57.7 kB / 461.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.2734, allocations: 413.5 kB / 461.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.2738, allocations: 428.4 kB / 462.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.2742, allocations: 234.9 kB / 462.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2743, allocations: 349.9 kB / 462.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.2754, allocations: 0.6518 MB / 463.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.2773, allocations: 1.896 MB / 465.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.2796, allocations: 1.271 MB / 466.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2796, allocations: 0 / 466.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003415/0.2831, allocations: 1.927 MB / 468.5 MB, free: 340 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.2831, allocations: 87.77 kB / 468.6 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2831, allocations: 4 kB / 468.6 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.2838, allocations: 287.5 kB / 468.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/0.2848, allocations: 219.7 kB / 469.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.296, allocations: 12.38 MB / 481.4 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.298, allocations: 191.9 kB / 481.6 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.2981, allocations: 55.94 kB / 481.7 MB, free: 2.051 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.0004936/0.2986, allocations: 265.6 kB / 482 MB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.2988, allocations: 123.2 kB / 482.1 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.2991, allocations: 126.8 kB / 482.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00313/0.3022, allocations: 1.557 MB / 483.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3022, allocations: 0 / 483.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00426/0.3065, allocations: 2.246 MB / 486 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/0.3137, allocations: 3.579 MB / 489.6 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.3137, allocations: 7.922 kB / 489.6 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/0.3147, allocations: 195.7 kB / 489.8 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.317, allocations: 0.8037 MB / 490.6 MB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.3171, allocations: 31.95 kB / 490.6 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.3295, allocations: 10.81 MB / 0.4897 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002431/0.3319, allocations: 2.088 MB / 0.4917 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/0.3377, allocations: 2.85 MB / 0.4945 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/0.3384, allocations: 267.1 kB / 0.4947 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.3386, allocations: 28 kB / 0.4948 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.3398, allocations: 111.8 kB / 0.4949 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.3401, allocations: 112.7 kB / 0.495 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/0.3402, allocations: 43.95 kB / 0.495 GB, free: 7.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.3409, allocations: 0.5459 MB / 0.4956 GB, free: 7.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 3.938 kB / 0.4956 GB, free: 7.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00154/0.3425, allocations: 0.5938 MB / 0.4961 GB, free: 6.594 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.006121/0.3486, allocations: 3.436 MB / 0.4995 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004271/0.3529, allocations: 2.666 MB / 0.5021 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.3529, allocations: 4 kB / 0.5021 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002683/0.3555, allocations: 1.532 MB / 0.5036 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.3569, allocations: 295.3 kB / 0.5039 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.3749, allocations: 11.55 MB / 0.5152 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.3755, allocations: 0.4884 MB / 0.5156 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006888/0.3762, allocations: 169 kB / 0.5158 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007492/0.3769, allocations: 467.2 kB / 0.5162 GB, free: 1.332 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3769, allocations: 0 / 0.5162 GB, free: 1.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/0.6394, allocations: 40.84 MB / 0.5561 GB, free: 120.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.33, allocations: 12.81 kB / 0.5561 GB, free: 120.2 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.81566317297984]