Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.0008405/0.0008406, allocations: 96.97 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.001107/0.001107, allocations: 173.6 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.53/1.53, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004192/0.0004192, allocations: 8 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.58 MB / 329.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003211/0.1039, allocations: 3.142 MB / 332.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1052, allocations: 0.9242 MB / 333.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.1054, allocations: 7.938 kB / 333.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1056, allocations: 79.44 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.106, allocations: 166.7 kB / 333.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1062, allocations: 111.8 kB / 333.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.1068, allocations: 0.599 MB / 334.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.107, allocations: 175 kB / 334.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1073, allocations: 219.1 kB / 334.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.1075, allocations: 246.9 kB / 334.7 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.1076, allocations: 32 kB / 334.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.1077, allocations: 36 kB / 334.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.1078, allocations: 99.53 kB / 334.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.108, allocations: 304.3 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.1085, allocations: 0.6032 MB / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1086, allocations: 0 / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1086, allocations: 0 / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1086, allocations: 0 / 335.8 MB, free: 12.91 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001146/0.1097, allocations: 0.7533 MB / 336.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1098, allocations: 8.031 kB / 336.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1099, allocations: 79.7 kB / 336.6 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.11, allocations: 72.12 kB / 336.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.1105, allocations: 387.1 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1107, allocations: 63.27 kB / 337.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.1107, allocations: 40.28 kB / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1114, allocations: 478.1 kB / 337.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1115, allocations: 0 / 337.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.1115, allocations: 23.88 kB / 337.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1115, allocations: 11.98 kB / 337.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.1121, allocations: 295.8 kB / 337.9 MB, free: 10.57 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.001917/0.114, allocations: 1.316 MB / 339.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1151, allocations: 440.5 kB / 339.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.1154, allocations: 144.8 kB / 339.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1154, allocations: 4 kB / 339.8 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1155, allocations: 42.5 kB / 339.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.1155, allocations: 0 / 339.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.00108/0.1165, allocations: 0.618 MB / 340.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/0.1167, allocations: 449 kB / 340.9 MB, free: 7.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.1172, allocations: 457.9 kB / 341.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1173, allocations: 33.7 kB / 341.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1174, allocations: 232.4 kB / 341.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.1175, allocations: 110.4 kB / 341.7 MB, free: 6.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.1176, allocations: 37.7 kB / 341.8 MB, free: 6.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1177, allocations: 354.7 kB / 342.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.1179, allocations: 120.5 kB / 342.2 MB, free: 5.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.1183, allocations: 256.1 kB / 342.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.1188, allocations: 280.9 kB / 342.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1188, allocations: 0 / 342.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006694/0.1195, allocations: 425 kB / 343.2 MB, free: 4.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.1195, allocations: 37.69 kB / 343.2 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1195, allocations: 0 / 343.2 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.1197, allocations: 57.58 kB / 343.3 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.12, allocations: 75.92 kB / 343.4 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.1222, allocations: 2.736 MB / 346.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.1225, allocations: 59.7 kB / 346.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1225, allocations: 8 kB / 346.2 MB, free: 1.664 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.1227, allocations: 173.7 kB / 346.3 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.1228, allocations: 47.44 kB / 346.4 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.1229, allocations: 56.69 kB / 346.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1229, allocations: 4 kB / 346.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1229, allocations: 4 kB / 346.4 MB, free: 1.375 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006231/0.1236, allocations: 0.657 MB / 347.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1248, allocations: 0.9044 MB / 348 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1248, allocations: 3.938 kB / 348 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.1251, allocations: 71.95 kB / 348.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1251, allocations: 0 / 348.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1251, allocations: 8.094 kB / 348.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1251, allocations: 7.875 kB / 348.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1251, allocations: 0 / 348.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.1259, allocations: 0.5347 MB / 348.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1261, allocations: 164.4 kB / 348.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.1261, allocations: 16.06 kB / 348.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.1265, allocations: 23.92 kB / 348.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1265, allocations: 11.98 kB / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1265, allocations: 15.98 kB / 348.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.1269, allocations: 315.1 kB / 349.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1269, allocations: 0 / 349.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1273, allocations: 131.8 kB / 349.3 MB, free: 14.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/0.1285, allocations: 1.08 MB / 350.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.1295, allocations: 0.5753 MB / 350.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1295, allocations: 0 / 350.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.1297, allocations: 135.9 kB / 351.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.1304, allocations: 121.8 kB / 351.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.1359, allocations: 4.623 MB / 355.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1363, allocations: 0.8237 MB / 356.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.1366, allocations: 64.34 kB / 356.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.1368, allocations: 163.4 kB / 356.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1368, allocations: 0 / 356.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1617, allocations: 11.81 MB / 368.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1619, allocations: 244.7 kB / 368.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.106, allocations: 3.938 kB / 368.9 MB, free: 10.45 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches