Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8344/0.8344, allocations: 137.4 MB / 442.4 MB, free: 13.79 MB / 350.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 73.61 kB / 0.6138 GB, free: 10.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1504, allocations: 85.52 MB / 0.6973 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002901/0.1533, allocations: 1.79 MB / 0.699 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1545, allocations: 0.6709 MB / 0.6997 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.1545, allocations: 3.938 kB / 0.6997 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.1546, allocations: 7.875 kB / 0.6997 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.1546, allocations: 23.78 kB / 0.6997 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1552, allocations: 166.6 kB / 0.6999 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1553, allocations: 119.7 kB / 0.7 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1555, allocations: 48.77 kB / 0.7 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1556, allocations: 67.77 kB / 0.7001 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.1557, allocations: 43.78 kB / 0.7001 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.1557, allocations: 8 kB / 0.7001 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1558, allocations: 47.95 kB / 0.7002 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.1559, allocations: 35.91 kB / 0.7002 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1559, allocations: 63.58 kB / 0.7003 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1562, allocations: 139.5 kB / 0.7004 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1562, allocations: 0 / 0.7004 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1562, allocations: 4 kB / 0.7004 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.1562, allocations: 0 / 0.7004 GB, free: 1.262 MB / 0.5137 GB 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.0006415/0.1568, allocations: 446.8 kB / 0.7008 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1568, allocations: 9.109 kB / 0.7009 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008267/0.1577, allocations: 112.7 kB / 0.701 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1578, allocations: 176.2 kB / 0.7011 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.158, allocations: 67.95 kB / 0.7012 GB, free: 380 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.158, allocations: 8.375 kB / 0.7012 GB, free: 372 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.1585, allocations: 169.7 kB / 0.7014 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1586, allocations: 3.984 kB / 0.7014 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1586, allocations: 4 kB / 0.7014 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1586, allocations: 4 kB / 0.7014 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005938/0.1592, allocations: 151.8 kB / 0.7015 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1604, allocations: 497.6 kB / 0.702 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1614, allocations: 214.3 kB / 0.7022 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1617, allocations: 84.91 kB / 0.7023 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1617, allocations: 0 / 0.7023 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1617, allocations: 30.56 kB / 0.7023 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1617, allocations: 0 / 0.7023 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001047/0.1628, allocations: 273.3 kB / 0.7026 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1628, allocations: 55.34 kB / 0.7026 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1629, allocations: 140.4 kB / 0.7028 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.163, allocations: 25.7 kB / 0.7028 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.163, allocations: 116.2 kB / 0.7029 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1631, allocations: 11.86 kB / 0.7029 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.1631, allocations: 29.7 kB / 0.7029 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1633, allocations: 322.8 kB / 0.7032 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.1636, allocations: 67.92 kB / 0.7033 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.1639, allocations: 94.5 kB / 0.7034 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.1644, allocations: 166.4 kB / 0.7036 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1644, allocations: 0 / 0.7036 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006532/0.1651, allocations: 205.7 kB / 0.7038 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1651, allocations: 10.28 kB / 0.7038 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1651, allocations: 64 / 0.7038 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1651, allocations: 11.88 kB / 0.7038 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.1654, allocations: 39.95 kB / 0.7038 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1654, allocations: 0 / 0.7038 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1656, allocations: 27.86 kB / 0.7038 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1656, allocations: 7.984 kB / 0.7038 GB, free: 13.5 MB / 0.5294 GB 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.0001163/0.1657, allocations: 117.8 kB / 0.704 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1658, allocations: 7.953 kB / 0.704 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007109/0.1665, allocations: 218.1 kB / 0.7042 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1665, allocations: 0 / 0.7042 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1665, allocations: 0 / 0.7042 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1665, allocations: 0 / 0.7042 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1668, allocations: 238.5 kB / 0.7044 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1668, allocations: 0 / 0.7044 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.167, allocations: 31.95 kB / 0.7044 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.167, allocations: 0 / 0.7044 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.167, allocations: 7.938 kB / 0.7044 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.167, allocations: 4 kB / 0.7044 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.167, allocations: 0 / 0.7044 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.1677, allocations: 291.2 kB / 0.7047 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.1678, allocations: 89.05 kB / 0.7048 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1678, allocations: 3.938 kB / 0.7048 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.1681, allocations: 31.95 kB / 0.7048 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1681, allocations: 4 kB / 0.7048 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1682, allocations: 7.984 kB / 0.7049 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.083e-05/0.1682, allocations: 107.2 kB / 0.705 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1682, allocations: 0 / 0.705 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002631/0.1685, allocations: 23.94 kB / 0.705 GB, free: 12.25 MB / 0.5294 GB 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.0001336/0.1686, allocations: 99.25 kB / 0.7051 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006491/0.1693, allocations: 167.9 kB / 0.7052 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1693, allocations: 4.125 kB / 0.7052 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.1696, allocations: 75.92 kB / 0.7053 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1699, allocations: 4 kB / 0.7053 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.1706, allocations: 288.9 kB / 0.7056 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1709, allocations: 0.7041 MB / 0.7063 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.171, allocations: 15.42 kB / 0.7063 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.171, allocations: 0 / 0.7063 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.003381/0.1744, allocations: 1.604 MB / 0.7079 GB, free: 9.223 MB / 0.5294 GB [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480]