Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002342/0.002342, allocations: 187.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.617/3.617, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001924/0.001924, allocations: 94.81 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006642/0.000664, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1556, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006696/0.1624, allocations: 2.92 MB / 377.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00731/0.1698, allocations: 0.9402 MB / 378.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.1704, allocations: 8 kB / 378.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.1709, allocations: 67.5 kB / 378.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.172, allocations: 207.4 kB / 378.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.1726, allocations: 103.8 kB / 378.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.174, allocations: 467.4 kB / 379.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005436/0.1746, allocations: 158 kB / 379.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.1752, allocations: 215.2 kB / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.1758, allocations: 251 kB / 379.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.176, allocations: 32 kB / 379.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.1762, allocations: 32 kB / 379.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.1764, allocations: 103.5 kB / 380 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.1767, allocations: 125.5 kB / 380.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.1778, allocations: 490.9 kB / 380.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1778, allocations: 0 / 380.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1778, allocations: 0 / 380.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1779, allocations: 0 / 380.6 MB, free: 9.312 MB / 282.7 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.003061/0.181, allocations: 0.8155 MB / 381.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.139e-05/0.1811, allocations: 11.97 kB / 381.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.1814, allocations: 67.25 kB / 381.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.183, allocations: 393.5 kB / 381.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004813/0.1835, allocations: 86.33 kB / 382 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.1836, allocations: 36 kB / 382 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.1859, allocations: 497 kB / 382.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.186, allocations: 0 / 382.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.1861, allocations: 15.98 kB / 382.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.1862, allocations: 8 kB / 382.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.1886, allocations: 386.3 kB / 382.9 MB, free: 6.871 MB / 282.7 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.005172/0.1938, allocations: 1.279 MB / 384.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.1956, allocations: 404.3 kB / 384.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.62e-05/0.1958, allocations: 11.98 kB / 384.6 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.607e-05/0.1958, allocations: 38.56 kB / 384.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 4.91e-06/0.1959, allocations: 0 / 384.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.004423/0.2003, allocations: 0.79 MB / 385.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003694/0.2007, allocations: 441 kB / 385.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.2019, allocations: 426 kB / 386.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.2021, allocations: 33.7 kB / 386.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.2025, allocations: 274.9 kB / 386.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.2028, allocations: 126.2 kB / 386.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.2028, allocations: 4 kB / 386.7 MB, free: 2.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.2031, allocations: 330.8 kB / 387 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.2042, allocations: 159.9 kB / 387.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.2057, allocations: 307.2 kB / 387.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.2069, allocations: 215.2 kB / 387.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.207, allocations: 0 / 387.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002854/0.2098, allocations: 490.6 kB / 388.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/0.21, allocations: 33.73 kB / 388.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.21, allocations: 0 / 388.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.2104, allocations: 53.69 kB / 388.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.2115, allocations: 95.88 kB / 388.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3636/0.5752, allocations: 2.759 MB / 391.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.5764, allocations: 69.3 kB / 391.2 MB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.5766, allocations: 11.75 kB / 391.2 MB, free: 18.5 MB / 282.7 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.0004044/0.577, allocations: 170.7 kB / 391.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.5772, allocations: 55.62 kB / 391.4 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.5774, allocations: 54.36 kB / 391.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5774, allocations: 7.234 kB / 391.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5774, allocations: 1.062 kB / 391.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00183/0.5792, allocations: 0.7711 MB / 392.2 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.5824, allocations: 1.032 MB / 393.2 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5824, allocations: 6.031 kB / 393.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/0.5833, allocations: 102.3 kB / 393.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.5834, allocations: 1.375 kB / 393.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.5834, allocations: 6.531 kB / 393.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5834, allocations: 1.375 kB / 393.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5834, allocations: 2.172 kB / 393.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.5861, allocations: 0.7164 MB / 394.1 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.5865, allocations: 168.2 kB / 394.2 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.5866, allocations: 11.58 kB / 394.3 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/0.5874, allocations: 41.11 kB / 394.3 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5876, allocations: 23.39 kB / 394.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.5876, allocations: 11.86 kB / 394.3 MB, free: 17.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005756/0.5882, allocations: 296.3 kB / 394.6 MB, free: 16.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5882, allocations: 0 / 394.6 MB, free: 16.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000802/0.589, allocations: 141.7 kB / 394.8 MB, free: 16.88 MB / 282.7 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.0001689/0.5892, allocations: 110.8 kB / 394.9 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.5915, allocations: 0.677 MB / 395.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5916, allocations: 0 / 395.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009034/0.5925, allocations: 201.9 kB / 395.7 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5936, allocations: 121.1 kB / 395.9 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.5963, allocations: 1.148 MB / 397 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5967, allocations: 0.8402 MB / 397.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.597, allocations: 38.84 kB / 397.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.597, allocations: 0 / 397.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Templates: time 0.157/0.7541, allocations: 8.219 MB / 406.1 MB, free: 12.12 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches