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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 97.84 kB / 16.94 MB, free: 5.98 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.0008591/0.0008591, allocations: 179.8 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.434/1.434, allocations: 205.4 MB / 224 MB, free: 13.02 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.0004385/0.0004384, allocations: 8 kB / 280.7 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 47.58 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003945/0.107, allocations: 2.929 MB / 331.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1089, allocations: 0.9363 MB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1091, allocations: 11.94 kB / 332.2 MB, free: 184 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.1093, allocations: 67.52 kB / 332.3 MB, free: 116 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.1097, allocations: 207.4 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.11, allocations: 99.81 kB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.1105, allocations: 475.4 kB / 333 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.1108, allocations: 158 kB / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.1111, allocations: 211.2 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.1114, allocations: 247 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1114, allocations: 39.88 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.1115, allocations: 32 kB / 333.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.1116, allocations: 87.66 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1117, allocations: 137.4 kB / 333.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.1122, allocations: 490.8 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1122, allocations: 0 / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1122, allocations: 4 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1122, allocations: 0 / 334.4 MB, free: 13.96 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.001392/0.1136, allocations: 0.8076 MB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1137, allocations: 12.03 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1138, allocations: 63.25 kB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.1144, allocations: 405.5 kB / 335.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.1146, allocations: 78.33 kB / 335.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.1147, allocations: 32 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.1157, allocations: 0.493 MB / 336.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1157, allocations: 8 kB / 336.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.1158, allocations: 16 kB / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1158, allocations: 8 kB / 336.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.1167, allocations: 378.4 kB / 336.7 MB, free: 11.52 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.001888/0.1186, allocations: 1.271 MB / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.1193, allocations: 403.4 kB / 338.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.1194, allocations: 7.984 kB / 338.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1194, allocations: 46.5 kB / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.1195, allocations: 0 / 338.4 MB, free: 9.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001745/0.1212, allocations: 0.7901 MB / 339.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.1214, allocations: 449 kB / 339.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.1219, allocations: 426 kB / 340 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1219, allocations: 29.7 kB / 340.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1221, allocations: 244.4 kB / 340.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1222, allocations: 126.1 kB / 340.4 MB, free: 7.461 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.1223, allocations: 4 kB / 340.4 MB, free: 7.457 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1224, allocations: 362.7 kB / 340.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.1228, allocations: 163.9 kB / 341 MB, free: 6.934 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.1233, allocations: 306.6 kB / 341.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.1238, allocations: 203.2 kB / 341.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1238, allocations: 0 / 341.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00104/0.1248, allocations: 0.5216 MB / 342 MB, free: 5.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.1249, allocations: 29.7 kB / 342 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1249, allocations: 0 / 342 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.1251, allocations: 49.7 kB / 342 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.1255, allocations: 99.86 kB / 342.1 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.1278, allocations: 2.756 MB / 344.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.1283, allocations: 71.72 kB / 345 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.1283, allocations: 15.95 kB / 345 MB, free: 2.539 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.1286, allocations: 169.8 kB / 345.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1287, allocations: 59.42 kB / 345.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1288, allocations: 56.75 kB / 345.3 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1288, allocations: 4 kB / 345.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1288, allocations: 0 / 345.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.1299, allocations: 0.7672 MB / 346 MB, free: 1.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.1315, allocations: 1.04 MB / 347.1 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1315, allocations: 0 / 347.1 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.132, allocations: 103.9 kB / 347.2 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.132, allocations: 4 kB / 347.2 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.132, allocations: 4 kB / 347.2 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.132, allocations: 0 / 347.2 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.132, allocations: 7.953 kB / 347.2 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.1334, allocations: 0.7137 MB / 347.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1336, allocations: 168.4 kB / 348.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.1337, allocations: 8 kB / 348.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.1341, allocations: 40.03 kB / 348.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.1342, allocations: 31.91 kB / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1342, allocations: 8 kB / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000317/0.1346, allocations: 295.1 kB / 348.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1346, allocations: 0 / 348.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.135, allocations: 139.8 kB / 348.6 MB, free: 14.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.1352, allocations: 111.2 kB / 348.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.1365, allocations: 0.6763 MB / 349.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1365, allocations: 0 / 349.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.1369, allocations: 195.8 kB / 349.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1375, allocations: 133.8 kB / 349.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1391, allocations: 1.122 MB / 350.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1395, allocations: 0.8313 MB / 351.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.1398, allocations: 59.38 kB / 351.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1399, allocations: 35.44 kB / 351.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1399, allocations: 0 / 351.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01404/0.1539, allocations: 7.451 MB / 359.2 MB, free: 4.031 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/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