Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.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.00164/0.00164, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001593/0.001593, allocations: 192.7 kB / 22.11 MB, free: 4.223 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.781/1.781, allocations: 207.6 MB / 232.8 MB, free: 2.816 MB / 174.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.4466/0.4466, allocations: 55.67 MB / 340.7 MB, free: 11.45 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") [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.002263/0.002263, allocations: 67.2 kB / 482 MB, free: 36.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1481, allocations: 62.89 MB / 0.5321 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.002988/0.151, allocations: 1.445 MB / 0.5336 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1523, allocations: 0.5853 MB / 0.5341 GB, free: 9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.1524, allocations: 4 kB / 0.5341 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.1524, allocations: 0 / 0.5341 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.1525, allocations: 7.922 kB / 0.5341 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.153, allocations: 43.84 kB / 0.5342 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1531, allocations: 35.78 kB / 0.5342 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1533, allocations: 7.938 kB / 0.5342 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1534, allocations: 19.98 kB / 0.5342 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.1535, allocations: 19.86 kB / 0.5343 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1535, allocations: 0 / 0.5343 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1537, allocations: 55.95 kB / 0.5343 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.1537, allocations: 11.92 kB / 0.5343 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.1537, allocations: 11.94 kB / 0.5343 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.154, allocations: 59.8 kB / 0.5344 GB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.154, allocations: 0 / 0.5344 GB, free: 8.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.154, allocations: 0 / 0.5344 GB, free: 8.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.154, allocations: 4 kB / 0.5344 GB, free: 8.723 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006376/0.1546, allocations: 278.1 kB / 0.5347 GB, free: 8.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1547, allocations: 8.031 kB / 0.5347 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.1547, allocations: 4.938 kB / 0.5347 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1549, allocations: 118.4 kB / 0.5348 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1549, allocations: 384 / 0.5348 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1549, allocations: 3.938 kB / 0.5348 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1551, allocations: 41.69 kB / 0.5348 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1551, allocations: 0 / 0.5348 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1551, allocations: 0 / 0.5348 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1551, allocations: 8 kB / 0.5348 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1552, allocations: 19.97 kB / 0.5349 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.1557, allocations: 224 kB / 0.5351 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1559, allocations: 34.5 kB / 0.5351 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1559, allocations: 12.92 kB / 0.5351 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.1566, allocations: 99.84 kB / 0.5352 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1567, allocations: 34.56 kB / 0.5352 GB, free: 7.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1567, allocations: 0 / 0.5352 GB, free: 7.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002877/0.1569, allocations: 73.72 kB / 0.5353 GB, free: 7.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.157, allocations: 55.34 kB / 0.5354 GB, free: 7.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1571, allocations: 105.8 kB / 0.5355 GB, free: 7.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1571, allocations: 29.7 kB / 0.5355 GB, free: 7.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.1572, allocations: 84.14 kB / 0.5356 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1572, allocations: 7.891 kB / 0.5356 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1573, allocations: 17.7 kB / 0.5356 GB, free: 7.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1574, allocations: 318.8 kB / 0.5359 GB, free: 7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1575, allocations: 12.03 kB / 0.5359 GB, free: 6.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.1575, allocations: 11.98 kB / 0.5359 GB, free: 6.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.1576, allocations: 24.84 kB / 0.536 GB, free: 6.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1576, allocations: 0 / 0.536 GB, free: 6.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.1577, allocations: 53.62 kB / 0.536 GB, free: 6.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1577, allocations: 8 kB / 0.536 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1577, allocations: 96 / 0.536 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1577, allocations: 4 kB / 0.536 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.1578, allocations: 11.92 kB / 0.536 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1578, allocations: 320 / 0.536 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.1579, allocations: 4 kB / 0.536 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.1579, allocations: 0 / 0.536 GB, free: 6.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.837e-05/0.158, allocations: 115.8 kB / 0.5361 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.158, allocations: 7.953 kB / 0.5362 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1582, allocations: 77.22 kB / 0.5362 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1582, allocations: 0 / 0.5362 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1582, allocations: 0 / 0.5362 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1582, allocations: 0 / 0.5362 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1584, allocations: 136.7 kB / 0.5364 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1584, allocations: 3.938 kB / 0.5364 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.1584, allocations: 7.984 kB / 0.5364 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1584, allocations: 0 / 0.5364 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1584, allocations: 0 / 0.5364 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1584, allocations: 7.984 kB / 0.5364 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1584, allocations: 0 / 0.5364 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1586, allocations: 151.5 kB / 0.5365 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.1586, allocations: 7.953 kB / 0.5365 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1586, allocations: 3.984 kB / 0.5365 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.1587, allocations: 0 / 0.5365 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1587, allocations: 0 / 0.5365 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1587, allocations: 4 kB / 0.5365 GB, free: 6.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.7e-05/0.1588, allocations: 91.3 kB / 0.5366 GB, free: 6.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 0.5366 GB, free: 6.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.159, allocations: 19.88 kB / 0.5366 GB, free: 6.168 MB / 398.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 (2): * Single equations (assignments): 2 * 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.0001983/0.1592, allocations: 115.1 kB / 0.5367 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1594, allocations: 19.98 kB / 0.5368 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1594, allocations: 0 / 0.5368 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.1595, allocations: 20.05 kB / 0.5368 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1597, allocations: 3.938 kB / 0.5368 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.1602, allocations: 138.8 kB / 0.5369 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1605, allocations: 0.6806 MB / 0.5376 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.1606, allocations: 4 kB / 0.5376 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.1606, allocations: 7.438 kB / 0.5376 GB, free: 5.121 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1606, allocations: 0 / 0.5376 GB, free: 5.121 MB / 398.1 MB Notification: Performance of Templates: time 0.003613/0.1642, allocations: 0.6847 MB / 0.5383 GB, free: 4.438 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.598440417088568] Failed to read output from testmodel.py, exit status != 0: 0.1727604540064931 0.187018805 0.030000859 Calling exit ...