Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001293/0.001293, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.00142/0.00142, allocations: 157.3 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.8062/0.8062, allocations: 101.3 MB / 361.1 MB, free: 9.516 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") [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.002078/0.002078, allocations: 75.84 kB / 0.5356 GB, free: 5.23 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.1421/0.1442, allocations: 85.88 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00269/0.1469, allocations: 1.483 MB / 0.6209 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1479, allocations: 0.5774 MB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.148, allocations: 4 kB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.148, allocations: 3.938 kB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.1481, allocations: 3.938 kB / 0.6215 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1483, allocations: 63.8 kB / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.814e-05/0.1484, allocations: 31.81 kB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.43e-05/0.1485, allocations: 3.984 kB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1486, allocations: 15.98 kB / 0.6216 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.1487, allocations: 15.92 kB / 0.6217 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1487, allocations: 4 kB / 0.6217 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1488, allocations: 55.95 kB / 0.6217 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.1488, allocations: 11.92 kB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1488, allocations: 11.94 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.149, allocations: 75.72 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.149, allocations: 3.938 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.149, allocations: 0 / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.149, allocations: 3.938 kB / 0.6218 GB, free: 15.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003993/0.1494, allocations: 276.9 kB / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1494, allocations: 12.02 kB / 0.6221 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.1496, allocations: 12.89 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1497, allocations: 122.5 kB / 0.6222 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1497, allocations: 384 / 0.6222 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.1498, allocations: 4.375 kB / 0.6222 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1499, allocations: 46 kB / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1499, allocations: 0 / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1499, allocations: 3.938 kB / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1499, allocations: 0 / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.15, allocations: 27.91 kB / 0.6223 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.1503, allocations: 196.6 kB / 0.6225 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.1504, allocations: 38.5 kB / 0.6225 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.1504, allocations: 20.91 kB / 0.6225 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/0.151, allocations: 87.88 kB / 0.6226 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1511, allocations: 30.56 kB / 0.6227 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1511, allocations: 8 kB / 0.6227 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002403/0.1513, allocations: 61.61 kB / 0.6227 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1514, allocations: 51.41 kB / 0.6228 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.1515, allocations: 113.8 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1515, allocations: 25.7 kB / 0.6229 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1515, allocations: 88.14 kB / 0.623 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1515, allocations: 11.92 kB / 0.623 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.1516, allocations: 9.719 kB / 0.623 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1517, allocations: 318.8 kB / 0.6233 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.1518, allocations: 12.48 kB / 0.6233 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.1518, allocations: 12 kB / 0.6233 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.1519, allocations: 28.78 kB / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1519, allocations: 0 / 0.6234 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001265/0.152, allocations: 65.5 kB / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.152, allocations: 8 kB / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.152, allocations: 0 / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.152, allocations: 4.094 kB / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.1521, allocations: 4 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1521, allocations: 0 / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.1521, allocations: 4 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1521, allocations: 3.984 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB 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.405e-05/0.1522, allocations: 113.8 kB / 0.6236 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1523, allocations: 4 kB / 0.6236 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.1524, allocations: 61.23 kB / 0.6236 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1524, allocations: 0 / 0.6236 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1524, allocations: 4.031 kB / 0.6236 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1524, allocations: 3.984 kB / 0.6236 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1526, allocations: 117.2 kB / 0.6237 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1526, allocations: 3.938 kB / 0.6237 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.1526, allocations: 4 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1526, allocations: 4 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1526, allocations: 0 / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1526, allocations: 4 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1526, allocations: 0 / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1528, allocations: 155.4 kB / 0.6239 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.1528, allocations: 7.938 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1528, allocations: 0 / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1529, allocations: 4 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.1529, allocations: 7.984 kB / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1529, allocations: 0 / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.153, allocations: 91.27 kB / 0.624 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.153, allocations: 0 / 0.624 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002409/0.1532, allocations: 15.94 kB / 0.624 GB, free: 12.68 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 (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.0001369/0.1533, allocations: 107.2 kB / 0.6241 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.1535, allocations: 28.02 kB / 0.6241 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1535, allocations: 0 / 0.6241 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.1535, allocations: 16.22 kB / 0.6242 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1537, allocations: 5.5 kB / 0.6242 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.154, allocations: 138.7 kB / 0.6243 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.1541, allocations: 63.34 kB / 0.6244 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.1541, allocations: 4.125 kB / 0.6244 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1541, allocations: 8.5 kB / 0.6244 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1541, allocations: 0 / 0.6244 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.002887/0.157, allocations: 0.6655 MB / 0.625 GB, free: 11.61 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.037162680993788] Failed to read output from testmodel.py, exit status != 0: 0.16418470605276525 0.17915988799999996 0.027156014000000003 Calling exit ...