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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 97.88 kB / 16.93 MB, free: 5.984 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.001063/0.001063, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.35/1.35, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004807/0.0004807, allocations: 8 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 47.59 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.0045/0.1142, allocations: 3.989 MB / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1167, allocations: 1.28 MB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.117, allocations: 15.94 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1173, allocations: 95.28 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.118, allocations: 354.9 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.1184, allocations: 163.7 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.1192, allocations: 0.7925 MB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.1196, allocations: 266.6 kB / 335.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.12, allocations: 382.7 kB / 335.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.1205, allocations: 434.2 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.897e-05/0.1206, allocations: 60 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1209, allocations: 64 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.121, allocations: 167.4 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1212, allocations: 205.3 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.1221, allocations: 0.8335 MB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1222, allocations: 0 / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1222, allocations: 0 / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1222, allocations: 3.938 kB / 337.4 MB, free: 10.99 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.002123/0.1243, allocations: 1.201 MB / 338.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1244, allocations: 8.031 kB / 338.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1245, allocations: 106.9 kB / 338.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/0.1254, allocations: 0.52 MB / 339.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.1257, allocations: 178.3 kB / 339.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1258, allocations: 63.91 kB / 339.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1273, allocations: 0.8665 MB / 340.3 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1273, allocations: 0 / 340.3 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/0.1274, allocations: 28 kB / 340.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1274, allocations: 12 kB / 340.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1292, allocations: 0.6609 MB / 341 MB, free: 7.121 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.003172/0.1323, allocations: 2.038 MB / 343.1 MB, free: 4.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.1337, allocations: 0.8819 MB / 343.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.1338, allocations: 16.58 kB / 344 MB, free: 4.023 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1339, allocations: 47.22 kB / 344 MB, free: 3.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.813e-06/0.1339, allocations: 0 / 344 MB, free: 3.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005301/0.1392, allocations: 1.987 MB / 346 MB, free: 1.887 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003556/0.1395, allocations: 0.8273 MB / 346.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.1402, allocations: 0.5708 MB / 347.4 MB, free: 292 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.1403, allocations: 45.7 kB / 347.4 MB, free: 240 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.1406, allocations: 333.1 kB / 347.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.1408, allocations: 260.2 kB / 348 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1409, allocations: 12 kB / 348 MB, free: 15.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.1411, allocations: 386.8 kB / 348.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.1418, allocations: 313.7 kB / 348.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009474/0.1428, allocations: 0.5664 MB / 349.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.1436, allocations: 439.9 kB / 349.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1436, allocations: 8 kB / 349.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002745/0.1464, allocations: 1.184 MB / 350.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.1464, allocations: 89.11 kB / 351 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1465, allocations: 4 kB / 351 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/0.1472, allocations: 255.2 kB / 351.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.1479, allocations: 151.8 kB / 351.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.1556, allocations: 6.571 MB / 357.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.1568, allocations: 123.4 kB / 358.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.1568, allocations: 27.95 kB / 358.1 MB, free: 4.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004488/0.1573, allocations: 229.7 kB / 358.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.1575, allocations: 90.97 kB / 358.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.1577, allocations: 83.34 kB / 358.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1577, allocations: 8 kB / 358.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1577, allocations: 0 / 358.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/0.1603, allocations: 1.342 MB / 359.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.1641, allocations: 1.972 MB / 361.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1642, allocations: 0 / 361.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007071/0.1649, allocations: 155.8 kB / 362 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006018/0.1655, allocations: 218.4 kB / 362.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.1656, allocations: 12 kB / 362.2 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006576/0.1721, allocations: 5.117 MB / 367.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1722, allocations: 3.984 kB / 367.3 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.1757, allocations: 1.527 MB / 368.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/0.1761, allocations: 231.8 kB / 369.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1762, allocations: 23.94 kB / 369.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.1769, allocations: 67.89 kB / 369.2 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.1771, allocations: 68.55 kB / 369.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.1772, allocations: 23.98 kB / 369.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005431/0.1777, allocations: 411.1 kB / 369.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1777, allocations: 0 / 369.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009981/0.1787, allocations: 279.7 kB / 369.9 MB, free: 8.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.179, allocations: 119.2 kB / 370 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.1816, allocations: 1.406 MB / 371.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1816, allocations: 0 / 371.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.1831, allocations: 0.8238 MB / 372.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.184, allocations: 202.9 kB / 372.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.1872, allocations: 1.923 MB / 374.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.1878, allocations: 0.9552 MB / 375.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004207/0.1882, allocations: 89.55 kB / 375.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.1884, allocations: 55.42 kB / 375.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1884, allocations: 4 kB / 375.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of Templates: time 0.192/0.3804, allocations: 15.58 MB / 391.1 MB, free: 47.71 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/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