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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 113.5 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 224 MB, free: 12.37 MB / 190.1 MB 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.001063/0.001063, allocations: 44.16 kB / 280.2 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08612, allocations: 46.63 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005769/0.09193, allocations: 5.602 MB / 332.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.09425, allocations: 1.457 MB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.09456, allocations: 11.94 kB / 333.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.09499, allocations: 154.9 kB / 334.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.09558, allocations: 341.3 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.09598, allocations: 223.8 kB / 334.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.09709, allocations: 1.359 MB / 336 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.09757, allocations: 423.1 kB / 336.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.09803, allocations: 0.506 MB / 336.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.09855, allocations: 0.5797 MB / 337.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.09869, allocations: 116 kB / 337.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.09886, allocations: 120 kB / 337.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.09903, allocations: 267 kB / 338 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.09949, allocations: 0.6105 MB / 338.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.1005, allocations: 1.382 MB / 340 MB, free: 7.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1005, allocations: 4 kB / 340 MB, free: 7.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1005, allocations: 0 / 340 MB, free: 7.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1005, allocations: 0 / 340 MB, free: 7.484 MB / 286.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.002166/0.1027, allocations: 1.477 MB / 341.5 MB, free: 5.934 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1027, allocations: 12.03 kB / 341.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.1029, allocations: 132.6 kB / 341.6 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1031, allocations: 127.5 kB / 341.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.1038, allocations: 0.6265 MB / 342.4 MB, free: 4.992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.104, allocations: 151.6 kB / 342.5 MB, free: 4.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.1041, allocations: 72.38 kB / 342.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1055, allocations: 0.9821 MB / 343.6 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1055, allocations: 0 / 343.6 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.1056, allocations: 39.98 kB / 343.6 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1056, allocations: 16 kB / 343.6 MB, free: 3.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.1068, allocations: 0.6324 MB / 344.3 MB, free: 2.969 MB / 286.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.003427/0.1102, allocations: 2.671 MB / 346.9 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.1126, allocations: 0.867 MB / 347.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.1132, allocations: 350.7 kB / 348.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.1133, allocations: 20.55 kB / 348.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1133, allocations: 51.22 kB / 348.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 1.913e-06/0.1133, allocations: 0 / 348.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002679/0.116, allocations: 1.401 MB / 349.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003694/0.1164, allocations: 0.9527 MB / 350.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.1173, allocations: 0.7864 MB / 351.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.57e-05/0.1173, allocations: 45.7 kB / 351.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.1177, allocations: 412.4 kB / 351.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.1179, allocations: 252.3 kB / 352 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.1181, allocations: 162.6 kB / 352.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1183, allocations: 333.9 kB / 352.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.1188, allocations: 259.7 kB / 352.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.1196, allocations: 0.588 MB / 353.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.1207, allocations: 0.6678 MB / 354 MB, free: 8.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1207, allocations: 0 / 354 MB, free: 8.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001572/0.1223, allocations: 0.947 MB / 355 MB, free: 7.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.1224, allocations: 89.03 kB / 355.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1224, allocations: 4 kB / 355.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.1227, allocations: 132.2 kB / 355.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.1234, allocations: 143.8 kB / 355.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/0.1288, allocations: 7.325 MB / 362.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.1297, allocations: 115.2 kB / 362.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.1298, allocations: 23.98 kB / 362.8 MB, free: 14.91 MB / 318.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.000378/0.1302, allocations: 241.7 kB / 363 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.1303, allocations: 98.88 kB / 363.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.1305, allocations: 100.9 kB / 363.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.1305, allocations: 12 kB / 363.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.1305, allocations: 0 / 363.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.1319, allocations: 0.9777 MB / 364.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.1345, allocations: 1.75 MB / 366 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1345, allocations: 0 / 366 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.1353, allocations: 155.8 kB / 366.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.93e-05/0.1354, allocations: 28.83 kB / 366.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.1354, allocations: 12 kB / 366.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008128/0.1362, allocations: 1.41 MB / 367.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1362, allocations: 0 / 367.6 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.138, allocations: 1.08 MB / 368.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.1383, allocations: 251.8 kB / 368.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.1385, allocations: 23.98 kB / 368.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006108/0.1391, allocations: 47.91 kB / 369 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.1392, allocations: 40.59 kB / 369 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.1392, allocations: 20 kB / 369 MB, free: 8.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005863/0.1398, allocations: 0.5498 MB / 369.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 0 / 369.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006936/0.1405, allocations: 295.6 kB / 369.9 MB, free: 7.473 MB / 318.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.001927/0.1424, allocations: 1.652 MB / 371.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.1445, allocations: 1.425 MB / 372.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1445, allocations: 4 kB / 372.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.145, allocations: 418.3 kB / 373.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.1461, allocations: 283.4 kB / 373.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1285/0.2746, allocations: 8.815 MB / 382.4 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.2751, allocations: 0.9826 MB / 383.4 MB, free: 49.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.2758, allocations: 126.8 kB / 383.6 MB, free: 49.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.2762, allocations: 354.2 kB / 383.9 MB, free: 49.52 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2762, allocations: 3.844 kB / 383.9 MB, free: 49.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/0.5182, allocations: 25.73 MB / 409.6 MB, free: 32.12 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.5184, allocations: 239.7 kB / 409.9 MB, free: 31.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/3.769, allocations: 8 kB / 409.9 MB, free: 31.86 MB / 318.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches