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.001381/0.001381, allocations: 97.11 kB / 16.95 MB, free: 6.457 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.001268/0.001268, allocations: 182.8 kB / 17.84 MB, free: 6.008 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.482/1.482, allocations: 205.4 MB / 224 MB, free: 13.05 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.0004475/0.0004475, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 47.58 MB / 328.3 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004468/0.1051, allocations: 4.392 MB / 332.7 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.107, allocations: 1.225 MB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.1072, allocations: 11.94 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.1075, allocations: 111.1 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1081, allocations: 285.7 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1084, allocations: 163.8 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.1094, allocations: 1.039 MB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.1098, allocations: 274.6 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.1102, allocations: 394.6 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.1107, allocations: 458.1 kB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1108, allocations: 64 kB / 336.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1109, allocations: 68 kB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1111, allocations: 187.3 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.1113, allocations: 197.3 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.1121, allocations: 0.8803 MB / 338 MB, free: 10.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1121, allocations: 3.938 kB / 338 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1121, allocations: 0 / 338 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1121, allocations: 0 / 338 MB, free: 10.29 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.001977/0.1141, allocations: 1.208 MB / 339.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1141, allocations: 12.03 kB / 339.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1143, allocations: 102.9 kB / 339.4 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.1151, allocations: 0.5669 MB / 339.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.1154, allocations: 170.4 kB / 340.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.1155, allocations: 63.84 kB / 340.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.117, allocations: 0.8705 MB / 341 MB, free: 7.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.117, allocations: 4 kB / 341 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.1171, allocations: 28 kB / 341.1 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1171, allocations: 12 kB / 341.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1185, allocations: 0.6609 MB / 341.7 MB, free: 6.367 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.003492/0.122, allocations: 2.077 MB / 343.8 MB, free: 4.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.1235, allocations: 0.8858 MB / 344.7 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008692/0.1244, allocations: 422.6 kB / 345.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.1245, allocations: 16.64 kB / 345.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.1246, allocations: 47.22 kB / 345.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/0.1246, allocations: 4 kB / 345.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005182/0.1297, allocations: 1.976 MB / 347.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000406/0.1302, allocations: 0.8234 MB / 348 MB, free: 15.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.131, allocations: 0.6331 MB / 348.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/0.1311, allocations: 45.7 kB / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.1314, allocations: 341 kB / 349 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.1316, allocations: 252.2 kB / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1317, allocations: 16 kB / 349.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1319, allocations: 382.8 kB / 349.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.1326, allocations: 301.8 kB / 349.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.1335, allocations: 0.5858 MB / 350.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.1344, allocations: 428 kB / 350.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1344, allocations: 3.953 kB / 350.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002727/0.1371, allocations: 1.188 MB / 352.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.1372, allocations: 97.05 kB / 352.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1372, allocations: 0 / 352.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007046/0.1379, allocations: 255.2 kB / 352.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.1386, allocations: 151.8 kB / 352.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007752/0.1463, allocations: 6.484 MB / 359.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.1475, allocations: 123.4 kB / 359.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.1476, allocations: 28 kB / 359.2 MB, free: 3.645 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005862/0.1482, allocations: 217.7 kB / 359.5 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.1485, allocations: 91.05 kB / 359.5 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1488, allocations: 87.34 kB / 359.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1488, allocations: 8 kB / 359.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.1488, allocations: 0 / 359.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002913/0.1517, allocations: 1.342 MB / 361 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.1562, allocations: 2.031 MB / 363 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1562, allocations: 0 / 363 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.1569, allocations: 155.8 kB / 363.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005436/0.1575, allocations: 210.5 kB / 363.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.1575, allocations: 16 kB / 363.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006248/0.1638, allocations: 5.051 MB / 368.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1638, allocations: 8 kB / 368.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.1672, allocations: 1.519 MB / 370 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.1676, allocations: 239.9 kB / 370.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.1678, allocations: 20 kB / 370.2 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.1685, allocations: 71.88 kB / 370.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.1686, allocations: 60.56 kB / 370.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.1687, allocations: 20.12 kB / 370.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005494/0.1692, allocations: 455 kB / 370.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1693, allocations: 0 / 370.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008918/0.1702, allocations: 279.7 kB / 371.1 MB, free: 7.156 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.00016/0.1703, allocations: 131.4 kB / 371.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.1725, allocations: 1.399 MB / 372.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.1726, allocations: 8.125 kB / 372.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.1739, allocations: 0.8081 MB / 373.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.175, allocations: 226.8 kB / 373.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.1779, allocations: 1.915 MB / 375.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.1785, allocations: 0.944 MB / 376.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.179, allocations: 102.4 kB / 376.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.1792, allocations: 67.42 kB / 376.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1792, allocations: 0 / 376.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of Templates: time 0.2051/0.3844, allocations: 16.23 MB / 392.9 MB, free: 46.72 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (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) 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