Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002371/0.002377, allocations: 188.9 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 2.259/2.259, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001939/0.001938, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007914/0.0007917, allocations: 8 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1457, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.008809/0.1546, allocations: 3.483 MB / 378 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.1592, allocations: 1.186 MB / 379.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.16, allocations: 4 kB / 379.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.1606, allocations: 87.38 kB / 379.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1623, allocations: 279.2 kB / 379.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1634, allocations: 151.8 kB / 379.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1658, allocations: 0.6355 MB / 380.4 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.1666, allocations: 196.6 kB / 380.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1676, allocations: 303 kB / 380.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1687, allocations: 338.6 kB / 381.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002818/0.169, allocations: 47.98 kB / 381.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.1693, allocations: 44 kB / 381.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.1696, allocations: 131.4 kB / 381.4 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.17, allocations: 169.3 kB / 381.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.1716, allocations: 0.6391 MB / 382.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1716, allocations: 0 / 382.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.1717, allocations: 0 / 382.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.543e-05/0.1717, allocations: 0 / 382.2 MB, free: 7.734 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.004138/0.1759, allocations: 0.9885 MB / 383.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.1759, allocations: 8.031 kB / 383.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.1764, allocations: 87.06 kB / 383.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.1779, allocations: 427.8 kB / 383.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.1782, allocations: 100.4 kB / 383.8 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.1785, allocations: 47.98 kB / 383.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.1813, allocations: 0.6638 MB / 384.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.1815, allocations: 0 / 384.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.1816, allocations: 20 kB / 384.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.1817, allocations: 8 kB / 384.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.1846, allocations: 483.7 kB / 385 MB, free: 4.738 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.008202/0.1929, allocations: 1.94 MB / 386.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.1982, allocations: 0.7454 MB / 387.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.1984, allocations: 8.422 kB / 387.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.657e-05/0.1985, allocations: 47 kB / 387.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 4.899e-06/0.1986, allocations: 0 / 387.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.01439/0.213, allocations: 1.594 MB / 389.3 MB, free: 176 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3219/0.5349, allocations: 0.5618 MB / 389.9 MB, free: 20.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.5366, allocations: 0.4916 MB / 390.4 MB, free: 20.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.5369, allocations: 39.83 kB / 390.4 MB, free: 20.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.5373, allocations: 314.3 kB / 390.7 MB, free: 19.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.5377, allocations: 187.5 kB / 390.9 MB, free: 19.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.5378, allocations: 9.594 kB / 390.9 MB, free: 19.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.538, allocations: 330.9 kB / 391.2 MB, free: 19.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.5396, allocations: 204.9 kB / 391.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.5418, allocations: 428.2 kB / 391.9 MB, free: 19.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.543, allocations: 268.2 kB / 392.1 MB, free: 19.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.5431, allocations: 3.953 kB / 392.1 MB, free: 19.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004187/0.5473, allocations: 0.8181 MB / 393 MB, free: 19.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.5474, allocations: 32.19 kB / 393 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.5474, allocations: 9.797 kB / 393 MB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.5492, allocations: 226.5 kB / 393.2 MB, free: 18.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.5506, allocations: 132.8 kB / 393.3 MB, free: 18.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1003/0.651, allocations: 5.31 MB / 398.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.6529, allocations: 91.98 kB / 398.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.6531, allocations: 23.47 kB / 398.8 MB, free: 14.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006302/0.6538, allocations: 190.2 kB / 399 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.6541, allocations: 67.22 kB / 399 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/0.6604, allocations: 0.824 MB / 399.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.6605, allocations: 6.25 kB / 399.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6605, allocations: 7.953 kB / 399.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005495/0.666, allocations: 1.087 MB / 400.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/0.6741, allocations: 1.507 MB / 402.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.6741, allocations: 1.125 kB / 402.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.6764, allocations: 135.9 kB / 402.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/0.6787, allocations: 186.4 kB / 402.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.6789, allocations: 12.92 kB / 402.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.6908, allocations: 3.597 MB / 406.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.6909, allocations: 1.219 kB / 406.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007666/0.6986, allocations: 1.131 MB / 407.5 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/0.6994, allocations: 197.4 kB / 407.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.6997, allocations: 12.59 kB / 407.7 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.7012, allocations: 47.34 kB / 407.8 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.7016, allocations: 48.45 kB / 407.8 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/0.7017, allocations: 16.47 kB / 407.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.7028, allocations: 352.6 kB / 408.2 MB, free: 8.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.7028, allocations: 0 / 408.2 MB, free: 8.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002119/0.705, allocations: 222.6 kB / 408.4 MB, free: 8.395 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003351/0.7054, allocations: 123.2 kB / 408.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006237/0.7116, allocations: 1.058 MB / 409.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.7117, allocations: 2 kB / 409.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.7146, allocations: 0.5511 MB / 410.1 MB, free: 7.344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.7168, allocations: 160 kB / 410.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.7224, allocations: 1.567 MB / 411.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.7233, allocations: 0.8999 MB / 412.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.7238, allocations: 53.3 kB / 412.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7238, allocations: 3.938 kB / 412.8 MB, free: 5.629 MB / 282.7 MB Notification: Performance of Templates: time 0.04542/0.7693, allocations: 14.21 MB / 427 MB, free: 10.06 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches