Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001209/0.001209, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.001291/0.001291, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 207.6 MB / 232.5 MB, free: 3.938 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 56.55 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0816/0.08324, allocations: 49.12 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006767/0.09, allocations: 5.622 MB / 397.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.09256, allocations: 1.465 MB / 399.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.09287, allocations: 19.88 kB / 399.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.0933, allocations: 198.3 kB / 399.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006724/0.09397, allocations: 396.7 kB / 399.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.09442, allocations: 259.6 kB / 400.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.09581, allocations: 1.363 MB / 401.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.09624, allocations: 283.2 kB / 401.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006314/0.09687, allocations: 0.5216 MB / 402.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.09758, allocations: 0.5836 MB / 402.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.09774, allocations: 127.9 kB / 402.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.09793, allocations: 120 kB / 403 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.09816, allocations: 255.1 kB / 403.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006118/0.09877, allocations: 0.6144 MB / 403.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1003, allocations: 1.405 MB / 405.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1003, allocations: 0 / 405.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1003, allocations: 0 / 405.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.1003, allocations: 0 / 405.3 MB, free: 11.43 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.002633/0.103, allocations: 1.519 MB / 406.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.103, allocations: 8.031 kB / 406.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.604e-05/0.1031, allocations: 26.17 kB / 406.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/0.1033, allocations: 136.6 kB / 407 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.1035, allocations: 136.2 kB / 407.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.1045, allocations: 0.6544 MB / 407.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.1047, allocations: 151.7 kB / 407.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1048, allocations: 76.12 kB / 408 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1064, allocations: 1.002 MB / 409 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1064, allocations: 0 / 409 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.1065, allocations: 39.94 kB / 409.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1065, allocations: 16 kB / 409.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1079, allocations: 0.6364 MB / 409.7 MB, free: 6.781 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.004348/0.1122, allocations: 2.699 MB / 412.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.1147, allocations: 0.8405 MB / 413.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.1154, allocations: 350.6 kB / 413.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.1155, allocations: 12.66 kB / 413.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1155, allocations: 51.16 kB / 413.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.1155, allocations: 0 / 413.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=118): time 0.01021/0.1257, allocations: 4.372 MB / 418 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004502/0.1302, allocations: 3.801 MB / 421.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1313, allocations: 0.7825 MB / 422.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.1314, allocations: 57.64 kB / 422.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.1318, allocations: 417.5 kB / 423.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.1322, allocations: 432.3 kB / 423.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.1326, allocations: 234.9 kB / 423.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1328, allocations: 346 kB / 424.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.1339, allocations: 0.5765 MB / 424.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.1353, allocations: 0.9426 MB / 425.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.1373, allocations: 1.268 MB / 426.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1374, allocations: 0 / 426.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003417/0.1408, allocations: 1.832 MB / 428.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.1408, allocations: 89.11 kB / 428.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1408, allocations: 0 / 428.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.1415, allocations: 299.4 kB / 429.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.1425, allocations: 219.7 kB / 429.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.1543, allocations: 13.36 MB / 442.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.1565, allocations: 199.9 kB / 442.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.1566, allocations: 51.94 kB / 442.9 MB, free: 3.34 MB / 366.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.0004906/0.1571, allocations: 273.5 kB / 443.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.1574, allocations: 119.3 kB / 443.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.1576, allocations: 126.8 kB / 443.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00329/0.1609, allocations: 1.561 MB / 444.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.1609, allocations: 4 kB / 445 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004422/0.1653, allocations: 2.242 MB / 447.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007572/0.1729, allocations: 4.051 MB / 451.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1729, allocations: 0 / 451.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.1739, allocations: 187.7 kB / 451.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/0.1763, allocations: 0.8123 MB / 452.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-05/0.1764, allocations: 35.95 kB / 452.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1565/0.3329, allocations: 11.49 MB / 463.8 MB, free: 61.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002034/0.3349, allocations: 2.216 MB / 466 MB, free: 59.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/0.3404, allocations: 2.854 MB / 468.8 MB, free: 59.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.341, allocations: 344.4 kB / 469.2 MB, free: 59.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3411, allocations: 26.88 kB / 469.2 MB, free: 59.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.3424, allocations: 110.1 kB / 469.3 MB, free: 59.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.3427, allocations: 106 kB / 469.4 MB, free: 59.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.3428, allocations: 39.33 kB / 469.5 MB, free: 59.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000646/0.3434, allocations: 0.5479 MB / 470 MB, free: 59.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3434, allocations: 0 / 470 MB, free: 59.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001458/0.3449, allocations: 0.5948 MB / 470.6 MB, free: 59.6 MB / 382.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.005518/0.3504, allocations: 3.443 MB / 474 MB, free: 58.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.3537, allocations: 2.587 MB / 476.6 MB, free: 56.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3538, allocations: 2.625 kB / 476.6 MB, free: 56.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.3561, allocations: 1.541 MB / 478.2 MB, free: 55.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.3575, allocations: 293.1 kB / 478.5 MB, free: 55.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.3716, allocations: 11.23 MB / 489.7 MB, free: 48.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.3721, allocations: 1.08 MB / 490.8 MB, free: 47.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007765/0.3729, allocations: 171.3 kB / 490.9 MB, free: 47.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.3735, allocations: 471.2 kB / 491.4 MB, free: 46.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3735, allocations: 0 / 491.4 MB, free: 46.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07198/0.4455, allocations: 37.49 MB / 0.5165 GB, free: 9.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.4, allocations: 11.98 kB / 0.5165 GB, free: 9.262 MB / 382.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.80924525600858]