Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.0008177/0.0008177, allocations: 95.83 kB / 17.3 MB, free: 5.977 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.0008516/0.0008516, allocations: 180.2 kB / 18.21 MB, free: 5.398 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.384/1.384, 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.0004592/0.0004593, allocations: 8 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09331, allocations: 47.58 MB / 329 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003608/0.09696, allocations: 3.311 MB / 332.4 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.09861, allocations: 0.9473 MB / 333.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.09879, allocations: 7.938 kB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.09905, allocations: 95.42 kB / 333.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.09942, allocations: 170.7 kB / 333.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.09965, allocations: 115.8 kB / 333.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.1003, allocations: 0.6458 MB / 334.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.1005, allocations: 178.9 kB / 334.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1008, allocations: 231 kB / 334.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.1011, allocations: 270.8 kB / 335 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.1011, allocations: 36 kB / 335 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.1012, allocations: 36 kB / 335.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.1013, allocations: 107.5 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.1016, allocations: 312.3 kB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.1021, allocations: 0.6422 MB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1021, allocations: 3.938 kB / 336.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1022, allocations: 0 / 336.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1022, allocations: 0 / 336.1 MB, free: 12.55 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001323/0.1035, allocations: 0.8078 MB / 336.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1035, allocations: 11.97 kB / 336.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.1037, allocations: 87.28 kB / 337 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1038, allocations: 64.19 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.1044, allocations: 442.4 kB / 337.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.1047, allocations: 86.89 kB / 337.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.1047, allocations: 32.38 kB / 337.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/0.1056, allocations: 0.5125 MB / 338.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1057, allocations: 0 / 338.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.1057, allocations: 16 kB / 338.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.1057, allocations: 8 kB / 338.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.1067, allocations: 394.4 kB / 338.6 MB, free: 9.949 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.001905/0.1086, allocations: 1.314 MB / 339.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.1093, allocations: 418 kB / 340.3 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.1098, allocations: 196.8 kB / 340.5 MB, free: 7.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1098, allocations: 8 kB / 340.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1098, allocations: 42.55 kB / 340.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.352e-06/0.1099, allocations: 4 kB / 340.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001693/0.1116, allocations: 0.79 MB / 341.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.1118, allocations: 448.9 kB / 341.8 MB, free: 6.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.1123, allocations: 457.9 kB / 342.2 MB, free: 6.012 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.1123, allocations: 37.7 kB / 342.2 MB, free: 5.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1125, allocations: 240.4 kB / 342.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.1126, allocations: 122.2 kB / 342.6 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.1127, allocations: 33.7 kB / 342.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1128, allocations: 362.8 kB / 343 MB, free: 5.207 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.1133, allocations: 159.7 kB / 343.1 MB, free: 5.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.1138, allocations: 306.6 kB / 343.4 MB, free: 4.695 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.1147, allocations: 389.1 kB / 343.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1147, allocations: 0 / 343.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001062/0.1157, allocations: 0.5291 MB / 344.3 MB, free: 3.758 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.1158, allocations: 29.7 kB / 344.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1158, allocations: 0 / 344.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.116, allocations: 53.69 kB / 344.4 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.1164, allocations: 95.88 kB / 344.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.1185, allocations: 2.744 MB / 347.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.119, allocations: 71.69 kB / 347.3 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.119, allocations: 8 kB / 347.3 MB, free: 488 kB / 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 (37): * Single equations (assignments): 34 * 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.0002132/0.1192, allocations: 174 kB / 347.5 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.1193, allocations: 55.42 kB / 347.6 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1194, allocations: 56.77 kB / 347.6 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1194, allocations: 4 kB / 347.6 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1195, allocations: 0 / 347.6 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/0.1205, allocations: 0.7711 MB / 348.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1222, allocations: 1.06 MB / 349.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1222, allocations: 8 kB / 349.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.1226, allocations: 104.1 kB / 349.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1227, allocations: 0 / 349.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.1227, allocations: 8 kB / 349.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1227, allocations: 3.938 kB / 349.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1227, allocations: 0 / 349.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.1241, allocations: 0.7324 MB / 350.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1243, allocations: 164.5 kB / 350.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.1243, allocations: 15.92 kB / 350.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.1247, allocations: 40.03 kB / 350.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.1248, allocations: 27.91 kB / 350.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.1248, allocations: 8 kB / 350.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003374/0.1252, allocations: 327.1 kB / 350.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1252, allocations: 0 / 350.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.1256, allocations: 143.7 kB / 351 MB, free: 12.59 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 (35): * Single equations (assignments): 35 * 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.001672/0.1273, allocations: 1.274 MB / 352.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1285, allocations: 0.6762 MB / 353 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1286, allocations: 0 / 353 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.129, allocations: 203.8 kB / 353.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.1297, allocations: 129.8 kB / 353.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.1363, allocations: 5.014 MB / 358.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1367, allocations: 0.8236 MB / 359.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.137, allocations: 68.34 kB / 359.2 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.1372, allocations: 179.3 kB / 359.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1372, allocations: 0 / 359.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.1637, allocations: 12.6 MB / 372 MB, free: 7.41 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.164, allocations: 225.2 kB / 372.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.218, allocations: 0 / 372.2 MB, free: 7.156 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches