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.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.001744/0.001744, allocations: 121.3 kB / 18.45 MB, free: 4.605 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.001425/0.001425, allocations: 189.2 kB / 21.39 MB, free: 1.672 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.404/1.404, allocations: 207.6 MB / 231.8 MB, free: 4.188 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.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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 55.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09423, allocations: 49.13 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007125/0.1014, allocations: 5.621 MB / 397 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1041, allocations: 1.48 MB / 398.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.1044, allocations: 11.94 kB / 398.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.1049, allocations: 190.3 kB / 398.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.1056, allocations: 396.7 kB / 399.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1062, allocations: 263.6 kB / 399.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1076, allocations: 1.359 MB / 400.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004273/0.108, allocations: 279.1 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.1086, allocations: 0.5099 MB / 401.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.1093, allocations: 0.5874 MB / 402 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.1094, allocations: 120 kB / 402.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1096, allocations: 120 kB / 402.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.1099, allocations: 263.1 kB / 402.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006493/0.1105, allocations: 0.6104 MB / 403.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1121, allocations: 1.408 MB / 404.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.1121, allocations: 4 kB / 404.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1121, allocations: 0 / 404.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.1121, allocations: 0 / 404.6 MB, free: 11.49 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.002896/0.115, allocations: 1.515 MB / 406.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1151, allocations: 8.031 kB / 406.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.1153, allocations: 132.6 kB / 406.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.1155, allocations: 132.2 kB / 406.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1165, allocations: 0.6427 MB / 407 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.1167, allocations: 155.6 kB / 407.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1168, allocations: 72.38 kB / 407.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.1184, allocations: 0.9859 MB / 408.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.1185, allocations: 3.984 kB / 408.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.1185, allocations: 36 kB / 408.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1186, allocations: 16 kB / 408.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1199, allocations: 0.6285 MB / 408.9 MB, free: 6.922 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.004431/0.1243, allocations: 2.648 MB / 411.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.1268, allocations: 0.8318 MB / 412.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.1275, allocations: 318.7 kB / 412.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.121e-05/0.1275, allocations: 12.64 kB / 412.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.1276, allocations: 51.22 kB / 412.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/0.1276, allocations: 4 kB / 412.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002673/0.1302, allocations: 1.405 MB / 414.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005216/0.1308, allocations: 0.9489 MB / 415.1 MB, free: 168 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.1318, allocations: 0.7825 MB / 415.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.1319, allocations: 45.7 kB / 415.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.1323, allocations: 429 kB / 416.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.1325, allocations: 257.7 kB / 416.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1328, allocations: 162.6 kB / 416.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1329, allocations: 333.9 kB / 417.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.1335, allocations: 257.9 kB / 417.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009065/0.1344, allocations: 0.5841 MB / 417.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.1356, allocations: 0.66 MB / 418.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1356, allocations: 4 kB / 418.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001781/0.1374, allocations: 0.9514 MB / 419.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.1374, allocations: 85.05 kB / 419.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1374, allocations: 9.797 kB / 419.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.1378, allocations: 120.2 kB / 419.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.1385, allocations: 151.8 kB / 419.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/0.1449, allocations: 7.333 MB / 427.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.1458, allocations: 111.6 kB / 427.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.1459, allocations: 31.92 kB / 427.4 MB, free: 2.93 MB / 350.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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004091/0.1463, allocations: 229.7 kB / 427.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.1465, allocations: 115.3 kB / 427.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.1467, allocations: 100.9 kB / 427.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1467, allocations: 4 kB / 427.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.1467, allocations: 8 kB / 427.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/0.1481, allocations: 0.9699 MB / 428.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.151, allocations: 1.756 MB / 430.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.151, allocations: 0 / 430.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.1518, allocations: 147.8 kB / 430.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.1519, allocations: 32.83 kB / 430.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.1519, allocations: 12 kB / 430.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.153, allocations: 1.403 MB / 432.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.153, allocations: 0 / 432.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.1551, allocations: 1.086 MB / 433.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.1555, allocations: 264.2 kB / 433.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.1556, allocations: 24 kB / 433.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.1563, allocations: 39.95 kB / 433.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.1563, allocations: 44.59 kB / 433.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.1564, allocations: 16 kB / 433.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007417/0.1571, allocations: 0.5498 MB / 434.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 4 kB / 434.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008245/0.1579, allocations: 299.7 kB / 434.4 MB, free: 11.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/0.1603, allocations: 1.649 MB / 436.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.1625, allocations: 1.358 MB / 437.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1625, allocations: 4 kB / 437.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.1632, allocations: 398.6 kB / 437.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.1643, allocations: 286.9 kB / 438.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.1764, allocations: 7.841 MB / 445.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.177, allocations: 0.9836 MB / 446.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.1776, allocations: 131.5 kB / 447.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.178, allocations: 351.3 kB / 447.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.178, allocations: 0 / 447.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2518/0.4299, allocations: 26.43 MB / 473.8 MB, free: 63.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/13.93, allocations: 12.11 kB / 473.8 MB, free: 63.32 MB / 382.1 MB " [Timeout remaining time 646] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.335275383200496]