Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 103.9 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3014/0.3014, allocations: 54.95 MB / 331.6 MB, free: 2.824 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 75.28 kB / 464.9 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1462, allocations: 59.6 MB / 0.5122 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.003271/0.1495, allocations: 1.735 MB / 0.5139 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1508, allocations: 0.6863 MB / 0.5146 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.1509, allocations: 4 kB / 0.5146 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.067e-05/0.1509, allocations: 11.86 kB / 0.5146 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.151, allocations: 15.81 kB / 0.5146 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.1516, allocations: 171.1 kB / 0.5148 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1519, allocations: 131.6 kB / 0.5149 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1521, allocations: 56.83 kB / 0.515 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1522, allocations: 59.83 kB / 0.515 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1523, allocations: 59.75 kB / 0.5151 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1524, allocations: 8 kB / 0.5151 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1525, allocations: 43.97 kB / 0.5151 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1525, allocations: 31.91 kB / 0.5151 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.1526, allocations: 55.7 kB / 0.5152 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1529, allocations: 143.4 kB / 0.5153 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1529, allocations: 0 / 0.5153 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1529, allocations: 0 / 0.5153 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1529, allocations: 4 kB / 0.5153 GB, free: 1.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007214/0.1536, allocations: 442.8 kB / 0.5158 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1537, allocations: 12.03 kB / 0.5158 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.1545, allocations: 108.7 kB / 0.5159 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1547, allocations: 184.2 kB / 0.5161 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.1548, allocations: 71.72 kB / 0.5161 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1549, allocations: 4 kB / 0.5161 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.1554, allocations: 177.4 kB / 0.5163 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1555, allocations: 0 / 0.5163 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1555, allocations: 4 kB / 0.5163 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1555, allocations: 4 kB / 0.5163 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.1562, allocations: 155.8 kB / 0.5165 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.1574, allocations: 482 kB / 0.5169 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1585, allocations: 222.3 kB / 0.5171 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.1588, allocations: 80.91 kB / 0.5172 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1588, allocations: 4 kB / 0.5172 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1589, allocations: 38.44 kB / 0.5172 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1589, allocations: 4 kB / 0.5172 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001094/0.16, allocations: 257.4 kB / 0.5175 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.16, allocations: 55.41 kB / 0.5175 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1602, allocations: 133.8 kB / 0.5177 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1602, allocations: 29.7 kB / 0.5177 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.1603, allocations: 112.2 kB / 0.5178 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1603, allocations: 27.77 kB / 0.5178 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.1604, allocations: 25.7 kB / 0.5179 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1606, allocations: 314.8 kB / 0.5182 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.1609, allocations: 87.84 kB / 0.5182 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.1612, allocations: 98.42 kB / 0.5183 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.1619, allocations: 158.7 kB / 0.5185 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1619, allocations: 0 / 0.5185 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007186/0.1626, allocations: 209.4 kB / 0.5187 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1626, allocations: 8 kB / 0.5187 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1626, allocations: 0 / 0.5187 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1627, allocations: 3.984 kB / 0.5187 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1629, allocations: 39.89 kB / 0.5187 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.163, allocations: 0 / 0.5187 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1632, allocations: 28.03 kB / 0.5188 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1632, allocations: 4 kB / 0.5188 GB, free: 13.81 MB / 414.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.1633, allocations: 118.5 kB / 0.5189 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1634, allocations: 15.84 kB / 0.5189 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.1641, allocations: 210.2 kB / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1641, allocations: 0 / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1642, allocations: 3.938 kB / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1642, allocations: 0 / 0.5191 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.1645, allocations: 238.3 kB / 0.5193 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1645, allocations: 0 / 0.5193 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1647, allocations: 39.89 kB / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1647, allocations: 0 / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1648, allocations: 0 / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1648, allocations: 4 kB / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1648, allocations: 0 / 0.5194 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.1656, allocations: 283.3 kB / 0.5196 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.1657, allocations: 92.94 kB / 0.5197 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1657, allocations: 4 kB / 0.5197 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.166, allocations: 32.14 kB / 0.5198 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1661, allocations: 7.922 kB / 0.5198 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.1661, allocations: 11.98 kB / 0.5198 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.1662, allocations: 110.2 kB / 0.5199 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1662, allocations: 0 / 0.5199 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1665, allocations: 27.95 kB / 0.5199 GB, free: 12.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.1667, allocations: 99.23 kB / 0.52 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007298/0.1674, allocations: 163.8 kB / 0.5202 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1674, allocations: 0 / 0.5202 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.1678, allocations: 83.91 kB / 0.5202 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1682, allocations: 13.22 kB / 0.5203 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.1689, allocations: 255.2 kB / 0.5205 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1693, allocations: 0.7002 MB / 0.5212 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.255e-05/0.1694, allocations: 16 kB / 0.5212 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.1695, allocations: 15.42 kB / 0.5212 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.304e-06/0.1695, allocations: 0 / 0.5212 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.004576/0.1741, allocations: 1.477 MB / 0.5227 GB, free: 9.676 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.37201002240181]