Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00179/0.00179, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.002227/0.002227, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.228/1.228, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.852e-05, allocations: 6.641 kB / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002831/0.00286, allocations: 1.479 MB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004027, allocations: 0.592 MB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.004086, allocations: 0 / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.00411, allocations: 0 / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.004161, allocations: 7.938 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.004472, allocations: 63.69 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.00458, allocations: 27.92 kB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.004674, allocations: 7.984 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.004824, allocations: 27.91 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.004867, allocations: 4 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004882, allocations: 0 / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.005016, allocations: 59.88 kB / 0.6207 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.005031, allocations: 7.938 kB / 0.6207 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.005057, allocations: 19.92 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.005238, allocations: 75.78 kB / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005241, allocations: 0 / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005242, allocations: 0 / 0.6208 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.005246, allocations: 0 / 0.6208 GB, free: 2.242 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.0004392/0.005685, allocations: 278.1 kB / 0.6211 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005722, allocations: 9.469 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.02278, allocations: 2.447 MB / 0.6235 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.02313, allocations: 145.7 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.02314, allocations: 4.375 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.02319, allocations: 384 / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.02916, allocations: 1.009 MB / 0.6246 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.02917, allocations: 192 / 0.6246 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.02921, allocations: 384 / 0.6246 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.02922, allocations: 7.938 kB / 0.6246 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.04053, allocations: 1.861 MB / 0.6265 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006976/0.04751, allocations: 1.396 MB / 0.6278 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.05866, allocations: 1.868 MB / 0.6296 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005783/0.06445, allocations: 0.9413 MB / 0.6306 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.06447, allocations: 0 / 0.6306 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.06451, allocations: 34.5 kB / 0.6306 GB, free: 8.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.06451, allocations: 3.938 kB / 0.6306 GB, free: 8.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.01721/0.08173, allocations: 2.741 MB / 0.6333 GB, free: 5.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.08178, allocations: 51.41 kB / 0.6333 GB, free: 5.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.08191, allocations: 121.7 kB / 0.6334 GB, free: 5.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.08196, allocations: 29.73 kB / 0.6335 GB, free: 5.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.08202, allocations: 84.14 kB / 0.6335 GB, free: 5.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.08207, allocations: 11.89 kB / 0.6336 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.08219, allocations: 25.69 kB / 0.6336 GB, free: 5.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.08241, allocations: 314.8 kB / 0.6339 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005704/0.08811, allocations: 0.9326 MB / 0.6348 GB, free: 3.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005674/0.09378, allocations: 0.9365 MB / 0.6357 GB, free: 2.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.1043, allocations: 1.675 MB / 0.6373 GB, free: 1.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1043, allocations: 0 / 0.6373 GB, free: 1.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01105/0.1154, allocations: 1.816 MB / 0.6391 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1154, allocations: 7.938 kB / 0.6391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1154, allocations: 0 / 0.6391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.1154, allocations: 0 / 0.6391 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/0.1186, allocations: 467.5 kB / 0.6396 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1186, allocations: 7.984 kB / 0.6396 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.1216, allocations: 451.5 kB / 0.64 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.1217, allocations: 7.984 kB / 0.64 GB, free: 14.4 MB / 0.5606 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 0.0001715/0.1218, allocations: 114.8 kB / 0.6401 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.1219, allocations: 7.922 kB / 0.6401 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.122, allocations: 11.62 kB / 0.6401 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.122, allocations: 3.938 kB / 0.6401 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.122, allocations: 0 / 0.6401 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.122, allocations: 3.938 kB / 0.6402 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.1224, allocations: 250.2 kB / 0.6404 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1224, allocations: 0 / 0.6404 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/0.1255, allocations: 463.4 kB / 0.6408 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1255, allocations: 8 kB / 0.6408 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.1256, allocations: 7.922 kB / 0.6408 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1256, allocations: 4 kB / 0.6409 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1256, allocations: 0 / 0.6409 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.1367, allocations: 1.9 MB / 0.6427 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.1368, allocations: 4.031 kB / 0.6427 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.1368, allocations: 7.922 kB / 0.6427 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/0.1399, allocations: 459.8 kB / 0.6432 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.14, allocations: 3.984 kB / 0.6432 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.14, allocations: 3.984 kB / 0.6432 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.321e-05/0.1401, allocations: 95.16 kB / 0.6433 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1401, allocations: 0 / 0.6433 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003317/0.1404, allocations: 39.95 kB / 0.6433 GB, free: 10.98 MB / 0.5606 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.0002006/0.1406, allocations: 99.23 kB / 0.6434 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01129/0.1519, allocations: 1.861 MB / 0.6452 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1519, allocations: 4.062 kB / 0.6452 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005591/0.1575, allocations: 0.9365 MB / 0.6461 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1578, allocations: 10.19 kB / 0.6461 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.1639, allocations: 1.054 MB / 0.6472 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.164, allocations: 67.25 kB / 0.6472 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.1642, allocations: 28 kB / 0.6473 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.1644, allocations: 24.47 kB / 0.6473 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of SimCode: time 1.183e-06/0.1644, allocations: 0 / 0.6473 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.006941/0.1714, allocations: 2.681 MB / 0.6499 GB, free: 4.156 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.385363262146711] Failed to read output from testmodel.py, exit status != 0: 0.18065618351101875 0.19683957100000002 0.188322746 Calling exit ...