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.001265/0.001265, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001303/0.001303, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.306/1.306, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001289/0.001289, allocations: 51.92 kB / 280.8 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004888/0.1064, allocations: 3.485 MB / 330.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1079, allocations: 0.9864 MB / 331.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1081, allocations: 8 kB / 331.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1084, allocations: 99.12 kB / 332 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.1089, allocations: 194.3 kB / 332.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1091, allocations: 115.8 kB / 332.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.1098, allocations: 0.6301 MB / 332.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.1101, allocations: 186.9 kB / 333.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1103, allocations: 247.1 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1106, allocations: 274.8 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.1107, allocations: 56 kB / 333.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1108, allocations: 56 kB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1109, allocations: 111.6 kB / 333.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.1112, allocations: 294.6 kB / 334.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.1118, allocations: 0.6346 MB / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1118, allocations: 0 / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1118, allocations: 0 / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1119, allocations: 0 / 334.7 MB, free: 13 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.001281/0.1131, allocations: 0.8466 MB / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1132, allocations: 8.031 kB / 335.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1133, allocations: 79.72 kB / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1134, allocations: 64.28 kB / 335.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.1139, allocations: 391 kB / 336.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.114, allocations: 59.27 kB / 336.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.1141, allocations: 36.36 kB / 336.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.1149, allocations: 482 kB / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1149, allocations: 0 / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.115, allocations: 16 kB / 336.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.115, allocations: 8 kB / 336.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.1156, allocations: 283.8 kB / 337 MB, free: 10.58 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.00234/0.118, allocations: 1.323 MB / 338.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1191, allocations: 440.4 kB / 338.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1194, allocations: 132.8 kB / 338.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1194, allocations: 8 kB / 338.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.1195, allocations: 46.56 kB / 338.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.826e-06/0.1195, allocations: 0 / 338.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001215/0.1207, allocations: 0.5984 MB / 339.5 MB, free: 7.863 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000289/0.121, allocations: 452.9 kB / 339.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.1216, allocations: 449.9 kB / 340.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.1217, allocations: 41.78 kB / 340.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1219, allocations: 236.3 kB / 340.7 MB, free: 6.586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.122, allocations: 106.4 kB / 340.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1222, allocations: 78.02 kB / 340.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1223, allocations: 358.8 kB / 341.2 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.1226, allocations: 104.6 kB / 341.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.1231, allocations: 252.1 kB / 341.5 MB, free: 5.641 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.1236, allocations: 280.2 kB / 341.8 MB, free: 5.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1236, allocations: 0 / 341.8 MB, free: 5.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007532/0.1243, allocations: 416.9 kB / 342.2 MB, free: 4.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1244, allocations: 37.69 kB / 342.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1244, allocations: 0 / 342.2 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.1246, allocations: 53.67 kB / 342.3 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.1249, allocations: 67.89 kB / 342.4 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.1274, allocations: 2.968 MB / 345.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.1278, allocations: 43.62 kB / 345.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.1278, allocations: 19.98 kB / 345.4 MB, free: 1.453 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.0002109/0.1281, allocations: 161.8 kB / 345.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.1282, allocations: 51.44 kB / 345.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-05/0.1283, allocations: 60.62 kB / 345.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1283, allocations: 4 kB / 345.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1283, allocations: 0 / 345.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006445/0.1289, allocations: 0.6386 MB / 346.3 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1302, allocations: 0.9188 MB / 347.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1302, allocations: 0 / 347.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.1306, allocations: 71.89 kB / 347.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1306, allocations: 4 kB / 347.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.1306, allocations: 4 kB / 347.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1306, allocations: 4 kB / 347.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1306, allocations: 4 kB / 347.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.1314, allocations: 0.5191 MB / 347.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.1316, allocations: 160.4 kB / 348 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.1317, allocations: 8 kB / 348 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.132, allocations: 15.98 kB / 348 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.132, allocations: 24.03 kB / 348 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1321, allocations: 15.94 kB / 348 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003511/0.1324, allocations: 319.1 kB / 348.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1324, allocations: 0 / 348.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.1329, allocations: 131.8 kB / 348.5 MB, free: 14.15 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.001117/0.134, allocations: 1.072 MB / 349.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.1349, allocations: 0.5708 MB / 350.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1349, allocations: 7.938 kB / 350.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.1352, allocations: 127.9 kB / 350.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.1358, allocations: 133.8 kB / 350.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.1416, allocations: 4.403 MB / 354.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.142, allocations: 0.8159 MB / 355.6 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.1423, allocations: 60.36 kB / 355.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.1425, allocations: 163.4 kB / 355.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1425, allocations: 0 / 355.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.1791, allocations: 12.52 MB / 368.4 MB, free: 10 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.56, allocations: 15.77 kB / 368.4 MB, free: 9.988 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches