Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000803/0.0008029, allocations: 178.8 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 223.3 MB / 241 MB, free: 10.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007168/0.0007168, allocations: 101 kB / 292.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002089/0.0002089, allocations: 11.94 kB / 351.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1649, allocations: 50.4 MB / 402.2 MB, free: 32.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002217/0.1672, allocations: 3.16 MB / 405.4 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.168, allocations: 0.8764 MB / 406.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1682, allocations: 7.938 kB / 406.2 MB, free: 28.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.1684, allocations: 67.45 kB / 406.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1686, allocations: 174.1 kB / 406.5 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1688, allocations: 98.14 kB / 406.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1691, allocations: 0.6028 MB / 407.2 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1693, allocations: 157.9 kB / 407.3 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1695, allocations: 223.1 kB / 407.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1697, allocations: 258.9 kB / 407.8 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.1697, allocations: 36 kB / 407.8 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.1698, allocations: 36 kB / 407.9 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1699, allocations: 99.59 kB / 408 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.1699, allocations: 133.4 kB / 408.1 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1702, allocations: 0.5078 MB / 408.6 MB, free: 26.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1702, allocations: 0 / 408.6 MB, free: 26.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1702, allocations: 4 kB / 408.6 MB, free: 26.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1702, allocations: 0 / 408.6 MB, free: 26.09 MB / 298.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.0009951/0.1712, allocations: 0.8116 MB / 409.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.1713, allocations: 8.031 kB / 409.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.1713, allocations: 67.25 kB / 409.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.1718, allocations: 421.6 kB / 409.9 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.172, allocations: 86.31 kB / 410 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.172, allocations: 28 kB / 410 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.1727, allocations: 0.4969 MB / 410.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1727, allocations: 8 kB / 410.5 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1728, allocations: 19.95 kB / 410.5 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1728, allocations: 8 kB / 410.6 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.1735, allocations: 378.4 kB / 410.9 MB, free: 23.62 MB / 298.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.00141/0.1749, allocations: 1.298 MB / 412.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.1755, allocations: 398.3 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.1759, allocations: 204.7 kB / 412.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1759, allocations: 19.91 kB / 412.8 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.176, allocations: 38.56 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.362e-06/0.176, allocations: 8 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001379/0.1774, allocations: 0.7795 MB / 413.7 MB, free: 20.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1774, allocations: 448.9 kB / 414.1 MB, free: 20.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.1778, allocations: 454 kB / 414.5 MB, free: 19.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1778, allocations: 41.64 kB / 414.6 MB, free: 19.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1779, allocations: 240.4 kB / 414.8 MB, free: 19.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.178, allocations: 122.2 kB / 414.9 MB, free: 19.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.178, allocations: 8 kB / 414.9 MB, free: 19.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.1781, allocations: 354.8 kB / 415.3 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.1784, allocations: 167.8 kB / 415.4 MB, free: 18.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.1788, allocations: 302.8 kB / 415.7 MB, free: 18.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.1792, allocations: 207.2 kB / 415.9 MB, free: 18.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1792, allocations: 0 / 415.9 MB, free: 18.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008689/0.1801, allocations: 0.5216 MB / 416.5 MB, free: 17.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1801, allocations: 33.66 kB / 416.5 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1801, allocations: 0 / 416.5 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.1803, allocations: 49.69 kB / 416.5 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1806, allocations: 103.8 kB / 416.7 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.182, allocations: 2.732 MB / 419.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.1824, allocations: 71.78 kB / 419.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1825, allocations: 8 kB / 419.5 MB, free: 14.41 MB / 298.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.0001419/0.1826, allocations: 174.5 kB / 419.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.1827, allocations: 55.39 kB / 419.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.1828, allocations: 56.77 kB / 419.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1828, allocations: 4 kB / 419.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1828, allocations: 0 / 419.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007728/0.1836, allocations: 0.7713 MB / 420.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1848, allocations: 1.059 MB / 421.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1848, allocations: 0 / 421.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.1852, allocations: 103.9 kB / 421.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1852, allocations: 240 / 421.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1853, allocations: 11.98 kB / 421.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1853, allocations: 0 / 421.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1853, allocations: 0 / 421.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1864, allocations: 0.7211 MB / 422.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.1865, allocations: 164.5 kB / 422.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.1866, allocations: 8 kB / 422.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.1869, allocations: 48.02 kB / 422.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.187, allocations: 23.83 kB / 422.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.187, allocations: 12 kB / 422.7 MB, free: 11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.1873, allocations: 323.1 kB / 423 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1873, allocations: 0 / 423 MB, free: 10.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.1876, allocations: 139.8 kB / 423.1 MB, free: 10.54 MB / 298.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 8.864e-05/0.1877, allocations: 107.2 kB / 423.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009702/0.1887, allocations: 0.6886 MB / 423.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1887, allocations: 4 kB / 423.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.1891, allocations: 199.7 kB / 424.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.1897, allocations: 149.8 kB / 424.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1908, allocations: 1.136 MB / 425.4 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.191, allocations: 0.8278 MB / 426.2 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1911, allocations: 47.42 kB / 426.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.1912, allocations: 4 kB / 426.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of Templates: time 0.008157/0.1993, allocations: 8.825 MB / 435.1 MB, free: 14.53 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches