Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001307/0.001307, allocations: 109 kB / 17.16 MB, free: 6.305 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.001223/0.001223, allocations: 198 kB / 18.07 MB, free: 5.406 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.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.51 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.001178/0.001178, allocations: 47.92 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1135, allocations: 46.62 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006184/0.1198, allocations: 5.046 MB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1227, allocations: 1.337 MB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.1232, allocations: 11.94 kB / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1238, allocations: 139.1 kB / 333.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.1244, allocations: 277.8 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.1249, allocations: 199.7 kB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.126, allocations: 1.113 MB / 334.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.1264, allocations: 290 kB / 335.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.1271, allocations: 418.4 kB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.1276, allocations: 493.9 kB / 336 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1277, allocations: 72 kB / 336 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.1279, allocations: 83.94 kB / 336.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1281, allocations: 191.3 kB / 336.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.1286, allocations: 497.5 kB / 336.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1297, allocations: 1.156 MB / 338 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1297, allocations: 0 / 338 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1297, allocations: 0 / 338 MB, free: 9.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1297, allocations: 3.938 kB / 338 MB, free: 9.461 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00246/0.1322, allocations: 1.348 MB / 339.3 MB, free: 8.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.1322, allocations: 12.02 kB / 339.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.1324, allocations: 111.9 kB / 339.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1327, allocations: 115.7 kB / 339.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.1338, allocations: 0.5792 MB / 340.1 MB, free: 7.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003817/0.1342, allocations: 174.9 kB / 340.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1343, allocations: 63.94 kB / 340.4 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.136, allocations: 0.8782 MB / 341.2 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.136, allocations: 0 / 341.2 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.1361, allocations: 28 kB / 341.3 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.1361, allocations: 12 kB / 341.3 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.1376, allocations: 0.6452 MB / 341.9 MB, free: 5.258 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.003311/0.1409, allocations: 2.092 MB / 344 MB, free: 3.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.1422, allocations: 0.8585 MB / 344.9 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.143, allocations: 410.5 kB / 345.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/0.1431, allocations: 16.62 kB / 345.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1431, allocations: 51.2 kB / 345.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.276e-06/0.1431, allocations: 4 kB / 345.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005069/0.1482, allocations: 1.832 MB / 347.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003893/0.1486, allocations: 0.8234 MB / 348 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.1494, allocations: 0.6331 MB / 348.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.1495, allocations: 45.7 kB / 348.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.1498, allocations: 337 kB / 349 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.15, allocations: 260.3 kB / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.1503, allocations: 146.6 kB / 349.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1505, allocations: 390.7 kB / 349.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/0.1511, allocations: 281.8 kB / 350.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/0.1521, allocations: 0.5702 MB / 350.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.1534, allocations: 0.7011 MB / 351.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1534, allocations: 0 / 351.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002707/0.1561, allocations: 1.122 MB / 352.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.1562, allocations: 89.11 kB / 352.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1562, allocations: 0 / 352.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.1569, allocations: 235.2 kB / 352.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.1575, allocations: 151.8 kB / 352.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/0.1651, allocations: 6.382 MB / 359.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.1661, allocations: 103.4 kB / 359.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.1662, allocations: 23.98 kB / 359.4 MB, free: 2.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003812/0.1666, allocations: 213.8 kB / 359.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.1667, allocations: 87 kB / 359.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.1669, allocations: 95.33 kB / 359.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1669, allocations: 12 kB / 359.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1669, allocations: 0 / 359.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002416/0.1693, allocations: 1.264 MB / 361.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.173, allocations: 1.953 MB / 363 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.173, allocations: 0 / 363 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/0.1737, allocations: 144 kB / 363.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.1743, allocations: 206.3 kB / 363.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.1743, allocations: 15.98 kB / 363.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/0.1801, allocations: 4.906 MB / 368.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1801, allocations: 0 / 368.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.1835, allocations: 1.445 MB / 369.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.184, allocations: 236 kB / 370 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.1841, allocations: 19.94 kB / 370 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.1848, allocations: 63.88 kB / 370.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.185, allocations: 68.5 kB / 370.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.1851, allocations: 20 kB / 370.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000586/0.1857, allocations: 455 kB / 370.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1857, allocations: 0 / 370.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000979/0.1867, allocations: 291.6 kB / 370.9 MB, free: 6.418 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003515/0.1902, allocations: 2.001 MB / 372.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.1927, allocations: 1.363 MB / 374.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1927, allocations: 4 kB / 374.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.194, allocations: 0.7731 MB / 375 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.1952, allocations: 226.9 kB / 375.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1974/0.3927, allocations: 8.319 MB / 383.6 MB, free: 50.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.3932, allocations: 0.9538 MB / 384.5 MB, free: 50.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007152/0.3939, allocations: 103.1 kB / 384.6 MB, free: 50.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.3944, allocations: 297.5 kB / 384.9 MB, free: 49.86 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3944, allocations: 0 / 384.9 MB, free: 49.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.4326, allocations: 24.1 MB / 409 MB, free: 33.14 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.4329, allocations: 233.7 kB / 409.2 MB, free: 32.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.869, allocations: 0 / 409.2 MB, free: 32.88 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches