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.0009674/0.0009674, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.0009227/0.0009228, allocations: 190 kB / 18.07 MB, free: 5.414 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.368/1.368, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001182/0.001182, allocations: 51.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1176, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005633/0.1233, allocations: 3.681 MB / 330.4 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1254, allocations: 1.013 MB / 331.4 MB, free: 72 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1256, allocations: 7.938 kB / 331.4 MB, free: 64 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.126, allocations: 91.53 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.1264, allocations: 166.7 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1267, allocations: 115.8 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.1274, allocations: 0.6495 MB / 332.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.1277, allocations: 178.9 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.1279, allocations: 235.1 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1283, allocations: 282.8 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.094e-05/0.1284, allocations: 40 kB / 333.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.1285, allocations: 47.94 kB / 333.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1286, allocations: 99.59 kB / 333.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.1289, allocations: 298.5 kB / 333.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1296, allocations: 0.6618 MB / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1296, allocations: 0 / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1296, allocations: 0 / 334.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1296, allocations: 0 / 334.2 MB, free: 13.22 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.001632/0.1313, allocations: 0.8972 MB / 335.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.1313, allocations: 8.031 kB / 335.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.1315, allocations: 83.36 kB / 335.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1316, allocations: 68.19 kB / 335.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.1324, allocations: 438.4 kB / 335.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.1326, allocations: 74.89 kB / 335.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.1327, allocations: 36.38 kB / 335.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.1336, allocations: 0.5002 MB / 336.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1336, allocations: 0 / 336.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.1337, allocations: 16 kB / 336.3 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1337, allocations: 8 kB / 336.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/0.1346, allocations: 370.3 kB / 336.7 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.002202/0.1368, allocations: 1.31 MB / 338 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.1376, allocations: 407.3 kB / 338.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.138, allocations: 188.8 kB / 338.6 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.1381, allocations: 8 kB / 338.6 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1381, allocations: 38.56 kB / 338.6 MB, free: 8.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.1381, allocations: 3.938 kB / 338.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.00183/0.14, allocations: 0.7588 MB / 339.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000359/0.1403, allocations: 444.9 kB / 339.8 MB, free: 7.156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.1409, allocations: 461.9 kB / 340.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.141, allocations: 33.7 kB / 340.3 MB, free: 6.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1412, allocations: 248.3 kB / 340.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1413, allocations: 114.3 kB / 340.7 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.1414, allocations: 89.38 kB / 340.8 MB, free: 6.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1417, allocations: 358.8 kB / 341.1 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.1421, allocations: 147.9 kB / 341.3 MB, free: 5.699 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.1427, allocations: 302.5 kB / 341.6 MB, free: 5.352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.1436, allocations: 361.2 kB / 341.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1436, allocations: 0 / 341.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001144/0.1447, allocations: 0.4975 MB / 342.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.1448, allocations: 33.69 kB / 342.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1448, allocations: 4.109 kB / 342.4 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.145, allocations: 45.7 kB / 342.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.1455, allocations: 95.84 kB / 342.6 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.1481, allocations: 2.748 MB / 345.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.1486, allocations: 59.69 kB / 345.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.1486, allocations: 8 kB / 345.4 MB, free: 1.199 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 (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.0003055/0.149, allocations: 178 kB / 345.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.1491, allocations: 55.34 kB / 345.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1492, allocations: 56.75 kB / 345.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1492, allocations: 7.938 kB / 345.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1492, allocations: 0 / 345.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.1502, allocations: 0.7516 MB / 346.4 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1519, allocations: 1.04 MB / 347.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.152, allocations: 0 / 347.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.1524, allocations: 95.86 kB / 347.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1524, allocations: 4 kB / 347.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1525, allocations: 4 kB / 347.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1525, allocations: 4 kB / 347.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1525, allocations: 0 / 347.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.1538, allocations: 0.6934 MB / 348.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.154, allocations: 172.6 kB / 348.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.1541, allocations: 11.98 kB / 348.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1544, allocations: 32.03 kB / 348.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.1545, allocations: 31.89 kB / 348.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1546, allocations: 11.98 kB / 348.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.155, allocations: 323.1 kB / 348.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.155, allocations: 0 / 348.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.1554, allocations: 147.7 kB / 349 MB, free: 13.39 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.001681/0.1571, allocations: 1.239 MB / 350.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.1584, allocations: 0.6606 MB / 350.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1584, allocations: 0 / 350.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.1589, allocations: 187.8 kB / 351.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.1597, allocations: 137 kB / 351.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.167, allocations: 4.904 MB / 356.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.1675, allocations: 0.8275 MB / 356.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.1678, allocations: 64.34 kB / 357 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.1681, allocations: 179.4 kB / 357.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1681, allocations: 0 / 357.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.1963, allocations: 12.73 MB / 369.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.1966, allocations: 237.7 kB / 370.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.317, allocations: 0 / 370.1 MB, free: 7.965 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