Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001428/0.001428, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001531/0.001531, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.294/1.294, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 47.92 kB / 371.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2066, allocations: 52.18 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006302/0.2129, allocations: 5.659 MB / 429.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.215, allocations: 1.418 MB / 430.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.2152, allocations: 19.88 kB / 430.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.2156, allocations: 202.3 kB / 430.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.2162, allocations: 396.7 kB / 431.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2167, allocations: 259.6 kB / 431.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.218, allocations: 1.368 MB / 432.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.2184, allocations: 275.5 kB / 433 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.219, allocations: 0.5255 MB / 433.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.2196, allocations: 0.5797 MB / 434.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.2198, allocations: 120 kB / 434.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2199, allocations: 123.9 kB / 434.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.2201, allocations: 251.2 kB / 434.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.2207, allocations: 0.6183 MB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.222, allocations: 1.405 MB / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.222, allocations: 0 / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.222, allocations: 0 / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.222, allocations: 4 kB / 436.6 MB, free: 1.367 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002474/0.2245, allocations: 1.436 MB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2245, allocations: 12.03 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.095e-05/0.2245, allocations: 30.16 kB / 438.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.2247, allocations: 136.6 kB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2249, allocations: 136.2 kB / 438.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.2259, allocations: 0.5862 MB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.2261, allocations: 309.9 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2263, allocations: 80.12 kB / 439.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.2277, allocations: 0.9871 MB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2278, allocations: 3.984 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.2278, allocations: 40 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.2279, allocations: 19.94 kB / 440.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2291, allocations: 0.6364 MB / 441 MB, free: 12.71 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.004095/0.2332, allocations: 2.645 MB / 443.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.2356, allocations: 0.7635 MB / 444.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.2363, allocations: 350.5 kB / 444.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.2364, allocations: 16.62 kB / 444.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.2364, allocations: 55.16 kB / 444.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/0.2364, allocations: 3.938 kB / 444.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.009578/0.246, allocations: 4.07 MB / 448.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0041/0.2501, allocations: 3.69 MB / 452.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/0.2511, allocations: 0.7903 MB / 453.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.2512, allocations: 49.7 kB / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.2515, allocations: 413.5 kB / 453.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.2519, allocations: 436.3 kB / 454.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.2523, allocations: 234.9 kB / 454.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2525, allocations: 345.9 kB / 454.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.2535, allocations: 0.5726 MB / 455.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.2549, allocations: 0.9388 MB / 456.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.257, allocations: 1.271 MB / 457.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.257, allocations: 0 / 457.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003236/0.2602, allocations: 1.836 MB / 459.4 MB, free: 9.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.2603, allocations: 85.11 kB / 459.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2603, allocations: 0 / 459.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.2609, allocations: 287.6 kB / 459.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.2618, allocations: 219.6 kB / 460 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.2722, allocations: 12.43 MB / 472.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.2742, allocations: 215.7 kB / 472.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.2744, allocations: 51.94 kB / 472.7 MB, free: 11.1 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.0004578/0.2748, allocations: 261.6 kB / 473 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.275, allocations: 131.2 kB / 473.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.2752, allocations: 130.7 kB / 473.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003182/0.2784, allocations: 1.561 MB / 474.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2784, allocations: 0 / 474.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004427/0.2829, allocations: 2.25 MB / 477 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.2905, allocations: 3.992 MB / 481 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2905, allocations: 0 / 481 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009248/0.2915, allocations: 203.7 kB / 481.2 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/0.2938, allocations: 0.8001 MB / 482 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.2939, allocations: 31.94 kB / 482.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/0.3063, allocations: 10.9 MB / 493 MB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00243/0.3087, allocations: 2.125 MB / 495.1 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.3146, allocations: 2.854 MB / 497.9 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.3153, allocations: 267.1 kB / 498.2 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.3155, allocations: 27.98 kB / 498.2 MB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.3167, allocations: 107.9 kB / 498.3 MB, free: 392 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.317, allocations: 116.7 kB / 498.4 MB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.3171, allocations: 39.95 kB / 498.5 MB, free: 236 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007218/0.3178, allocations: 0.5421 MB / 499 MB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 499 MB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001475/0.3193, allocations: 0.5938 MB / 499.6 MB, free: 15.1 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.006055/0.3253, allocations: 3.44 MB / 0.4913 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.3293, allocations: 2.59 MB / 0.4938 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3293, allocations: 7.797 kB / 0.4938 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.3319, allocations: 1.525 MB / 0.4953 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3332, allocations: 294.8 kB / 0.4956 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.3509, allocations: 11.24 MB / 0.5065 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.3517, allocations: 1.084 MB / 0.5076 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006794/0.3524, allocations: 169 kB / 0.5078 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/0.3531, allocations: 471.1 kB / 0.5082 GB, free: 9.723 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3531, allocations: 0 / 0.5082 GB, free: 9.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08824/0.4414, allocations: 38.59 MB / 0.5459 GB, free: 3.617 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.77, allocations: 10.31 kB / 0.5459 GB, free: 3.613 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.307794518012088]