Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 77.33 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 155.9 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.384/1.384, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7889/0.7889, allocations: 101.3 MB / 361.1 MB, free: 9.555 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003252/0.003252, allocations: 68.03 kB / 0.5356 GB, free: 5.199 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1544, allocations: 85.89 MB / 0.6195 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003071/0.1574, allocations: 1.753 MB / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1587, allocations: 0.6983 MB / 0.6219 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.1588, allocations: 0 / 0.6219 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.1588, allocations: 11.86 kB / 0.6219 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.1589, allocations: 23.73 kB / 0.6219 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.1595, allocations: 186.7 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1597, allocations: 131.6 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1598, allocations: 37.56 kB / 0.6223 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.16, allocations: 71.77 kB / 0.6223 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.16, allocations: 43.77 kB / 0.6224 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.1601, allocations: 8 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1602, allocations: 55.95 kB / 0.6224 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1602, allocations: 31.84 kB / 0.6225 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.1603, allocations: 47.78 kB / 0.6225 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.1605, allocations: 151.4 kB / 0.6227 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1605, allocations: 3.938 kB / 0.6227 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1605, allocations: 0 / 0.6227 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.1605, allocations: 0 / 0.6227 GB, free: 14.29 MB / 0.5294 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.0005948/0.1611, allocations: 373.7 kB / 0.623 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1612, allocations: 8.031 kB / 0.623 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.1622, allocations: 132.6 kB / 0.6232 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.1625, allocations: 162.8 kB / 0.6233 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1626, allocations: 111.4 kB / 0.6234 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1627, allocations: 15.94 kB / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.1632, allocations: 219 kB / 0.6236 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1633, allocations: 0 / 0.6236 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1633, allocations: 4 kB / 0.6237 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1633, allocations: 4 kB / 0.6237 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.1639, allocations: 159.8 kB / 0.6238 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.165, allocations: 413.4 kB / 0.6242 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1661, allocations: 206.3 kB / 0.6244 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.1664, allocations: 84.91 kB / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1664, allocations: 0 / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1664, allocations: 30.56 kB / 0.6245 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1664, allocations: 0 / 0.6245 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001072/0.1675, allocations: 273.2 kB / 0.6248 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1675, allocations: 51.41 kB / 0.6248 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1677, allocations: 148.1 kB / 0.625 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1677, allocations: 25.7 kB / 0.625 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1678, allocations: 112.2 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1678, allocations: 15.86 kB / 0.6251 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.1679, allocations: 29.7 kB / 0.6251 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.168, allocations: 322.8 kB / 0.6254 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.1683, allocations: 67.92 kB / 0.6255 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1687, allocations: 94.48 kB / 0.6256 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.1693, allocations: 166.4 kB / 0.6258 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1693, allocations: 0 / 0.6258 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000726/0.17, allocations: 213.3 kB / 0.626 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.17, allocations: 4 kB / 0.626 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.17, allocations: 4 kB / 0.626 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.17, allocations: 0 / 0.626 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1703, allocations: 35.95 kB / 0.626 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1703, allocations: 0 / 0.626 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1705, allocations: 31.95 kB / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1705, allocations: 4 kB / 0.626 GB, free: 10.61 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.000106/0.1707, allocations: 121.8 kB / 0.6262 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.1707, allocations: 11.89 kB / 0.6262 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007569/0.1715, allocations: 210.5 kB / 0.6264 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1715, allocations: 7.984 kB / 0.6264 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1715, allocations: 0 / 0.6264 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1715, allocations: 3.984 kB / 0.6264 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1717, allocations: 154.1 kB / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1717, allocations: 3.938 kB / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1719, allocations: 39.89 kB / 0.6266 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1719, allocations: 7.938 kB / 0.6266 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1719, allocations: 4 kB / 0.6266 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1719, allocations: 0 / 0.6266 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1719, allocations: 0 / 0.6266 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.1727, allocations: 279.3 kB / 0.6268 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.1727, allocations: 11.95 kB / 0.6269 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1727, allocations: 3.938 kB / 0.6269 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.173, allocations: 31.95 kB / 0.6269 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.1731, allocations: 7.984 kB / 0.6269 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1731, allocations: 7.984 kB / 0.6269 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.034e-05/0.1732, allocations: 108.6 kB / 0.627 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 0.627 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002709/0.1734, allocations: 31.89 kB / 0.627 GB, free: 9.527 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.0001031/0.1735, allocations: 99.19 kB / 0.6271 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007083/0.1742, allocations: 159.8 kB / 0.6273 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1742, allocations: 0 / 0.6273 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.1746, allocations: 83.98 kB / 0.6274 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.1749, allocations: 11.94 kB / 0.6274 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.1755, allocations: 259.6 kB / 0.6276 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.676e-05/0.1756, allocations: 89.31 kB / 0.6277 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.1757, allocations: 15.98 kB / 0.6277 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.1758, allocations: 16.5 kB / 0.6277 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1758, allocations: 0 / 0.6277 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.00434/0.1801, allocations: 1.537 MB / 0.6292 GB, free: 7.23 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.013265190995298] Failed to read output from testmodel.py, exit status != 0: 0.1892907420406118 0.20261921000000002 0.039058184 Calling exit ...