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.0009395/0.0009399, allocations: 94.91 kB / 17.3 MB, free: 6.391 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.0009621/0.0009623, allocations: 171.9 kB / 18.2 MB, free: 5.551 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.41/1.41, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004246/0.0004247, allocations: 16 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07703/0.07747, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004916/0.08242, allocations: 5.189 MB / 334.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.08528, allocations: 1.403 MB / 335.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.08578, allocations: 11.94 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.08625, allocations: 151 kB / 335.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008701/0.08713, allocations: 345.3 kB / 336.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.08768, allocations: 219.8 kB / 336.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.08895, allocations: 1.292 MB / 337.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.08941, allocations: 384.3 kB / 338 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.08989, allocations: 462.2 kB / 338.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.09043, allocations: 0.5405 MB / 339 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.09057, allocations: 76 kB / 339.1 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.09072, allocations: 76 kB / 339.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.09089, allocations: 215.1 kB / 339.4 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.09135, allocations: 0.5888 MB / 340 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.09236, allocations: 1.308 MB / 341.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.09237, allocations: 3.938 kB / 341.3 MB, free: 7.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09238, allocations: 4 kB / 341.3 MB, free: 7.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.0924, allocations: 0 / 341.3 MB, free: 7.352 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.00206/0.09447, allocations: 1.298 MB / 342.6 MB, free: 5.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.09451, allocations: 8.031 kB / 342.6 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.0947, allocations: 128.6 kB / 342.7 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.09488, allocations: 127.5 kB / 342.8 MB, free: 5.715 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.09567, allocations: 0.6304 MB / 343.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.0959, allocations: 163.6 kB / 343.6 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.09601, allocations: 72.36 kB / 343.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.09741, allocations: 0.9977 MB / 344.7 MB, free: 3.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.09744, allocations: 0 / 344.7 MB, free: 3.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.09752, allocations: 32 kB / 344.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.09755, allocations: 16 kB / 344.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.0988, allocations: 0.6559 MB / 345.4 MB, free: 2.977 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.003674/0.1025, allocations: 2.686 MB / 348.1 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.1048, allocations: 0.8878 MB / 349 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.1055, allocations: 366.3 kB / 349.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.1056, allocations: 20.64 kB / 349.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1056, allocations: 47.22 kB / 349.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.1056, allocations: 0 / 349.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002381/0.108, allocations: 1.44 MB / 350.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00031/0.1083, allocations: 0.9527 MB / 351.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/0.1092, allocations: 0.7908 MB / 352.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.1093, allocations: 45.7 kB / 352.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.1096, allocations: 420.4 kB / 353 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1098, allocations: 248.2 kB / 353.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.1098, allocations: 65.69 kB / 353.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.11, allocations: 341.8 kB / 353.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.1105, allocations: 261.9 kB / 353.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.1113, allocations: 0.6075 MB / 354.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.1124, allocations: 0.6873 MB / 355.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1124, allocations: 0 / 355.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001603/0.114, allocations: 0.9704 MB / 356.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.1141, allocations: 93.03 kB / 356.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1141, allocations: 0 / 356.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.1144, allocations: 124.2 kB / 356.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.1151, allocations: 155.8 kB / 356.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/0.1198, allocations: 6.797 MB / 363.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.1207, allocations: 119.3 kB / 363.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.1208, allocations: 23.98 kB / 363.5 MB, free: 15.4 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.0003458/0.1211, allocations: 245.6 kB / 363.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.1212, allocations: 98.88 kB / 363.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.1214, allocations: 100.9 kB / 363.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1214, allocations: 8 kB / 363.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1215, allocations: 0 / 363.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/0.1227, allocations: 1.001 MB / 364.9 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.1252, allocations: 1.781 MB / 366.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1252, allocations: 0 / 366.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.1259, allocations: 159.8 kB / 366.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.651e-05/0.126, allocations: 28.78 kB / 366.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.1261, allocations: 12 kB / 366.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/0.1268, allocations: 1.304 MB / 368.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1268, allocations: 3.938 kB / 368.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.1287, allocations: 1.115 MB / 369.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.129, allocations: 255.7 kB / 369.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1292, allocations: 20 kB / 369.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.1298, allocations: 67.83 kB / 369.7 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.1299, allocations: 40.59 kB / 369.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.1299, allocations: 19.94 kB / 369.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.1306, allocations: 0.5498 MB / 370.3 MB, free: 8.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1306, allocations: 3.938 kB / 370.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.1313, allocations: 299.6 kB / 370.6 MB, free: 7.949 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.002208/0.1336, allocations: 1.679 MB / 372.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.1356, allocations: 1.413 MB / 373.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1356, allocations: 0 / 373.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.1363, allocations: 434.6 kB / 374.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.1374, allocations: 255.2 kB / 374.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1449/0.2823, allocations: 8.972 MB / 383.3 MB, free: 50.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.2828, allocations: 0.9842 MB / 384.3 MB, free: 49.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005459/0.2833, allocations: 128.3 kB / 384.4 MB, free: 49.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.2837, allocations: 359 kB / 384.8 MB, free: 49.62 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2837, allocations: 0 / 384.8 MB, free: 49.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.3206, allocations: 24.54 MB / 409.3 MB, free: 33.45 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.3208, allocations: 242.9 kB / 409.6 MB, free: 33.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/2.866, allocations: 0 / 409.6 MB, free: 33.2 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