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.001417/0.001417, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001785/0.001785, allocations: 214.2 kB / 22.25 MB, free: 5.246 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.331/1.331, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [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: 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.001991/0.001991, allocations: 63.89 kB / 0.7186 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.658, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002845/0.6609, allocations: 1.482 MB / 0.8197 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.662, allocations: 0.5803 MB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.6621, allocations: 1.688 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.6621, allocations: 3.938 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.6622, allocations: 5.844 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.6625, allocations: 60.3 kB / 0.8203 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.6626, allocations: 30.2 kB / 0.8204 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.6627, allocations: 9.062 kB / 0.8204 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.6629, allocations: 23.44 kB / 0.8204 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.6629, allocations: 9.688 kB / 0.8204 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.6629, allocations: 6.688 kB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.6631, allocations: 55.53 kB / 0.8205 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.6631, allocations: 2.625 kB / 0.8205 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.6631, allocations: 13.62 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.6633, allocations: 69.19 kB / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6633, allocations: 0 / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6633, allocations: 1.344 kB / 0.8206 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.6633, allocations: 0 / 0.8206 GB, free: 27.41 MB / 0.6387 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.000428/0.6637, allocations: 280.4 kB / 0.8208 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6638, allocations: 10.88 kB / 0.8208 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.6815, allocations: 2.444 MB / 0.8232 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.6819, allocations: 154.6 kB / 0.8234 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6819, allocations: 5.531 kB / 0.8234 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.682, allocations: 1.781 kB / 0.8234 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/0.6878, allocations: 1.021 MB / 0.8244 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6878, allocations: 5.297 kB / 0.8244 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.6879, allocations: 0.6562 kB / 0.8244 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6879, allocations: 0 / 0.8244 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.699, allocations: 1.855 MB / 0.8262 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007191/0.7062, allocations: 1.404 MB / 0.8276 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.7191, allocations: 1.873 MB / 0.8294 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007995/0.7271, allocations: 0.9383 MB / 0.8303 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.7272, allocations: 0.6094 kB / 0.8303 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.7272, allocations: 33.25 kB / 0.8303 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 3.677e-06/0.7272, allocations: 0 / 0.8303 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.02722/0.7544, allocations: 2.748 MB / 0.833 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.7545, allocations: 52.75 kB / 0.8331 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.7546, allocations: 109.1 kB / 0.8332 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.7547, allocations: 25.7 kB / 0.8332 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.7548, allocations: 86.64 kB / 0.8333 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.7548, allocations: 5.984 kB / 0.8333 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.7551, allocations: 28.02 kB / 0.8333 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.7551, allocations: 319 kB / 0.8336 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0102/0.7653, allocations: 0.9282 MB / 0.8345 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009845/0.7752, allocations: 0.9344 MB / 0.8354 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.7938, allocations: 1.676 MB / 0.8371 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.7938, allocations: 0 / 0.8371 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01153/0.8053, allocations: 1.821 MB / 0.8389 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.8053, allocations: 8.312 kB / 0.8389 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8053, allocations: 0 / 0.8389 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.8054, allocations: 1.062 kB / 0.8389 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.8083, allocations: 471.5 kB / 0.8393 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.8083, allocations: 1.312 kB / 0.8393 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.8112, allocations: 448.6 kB / 0.8397 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.8113, allocations: 10.2 kB / 0.8397 GB, free: 23.07 MB / 0.6387 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.000139/0.8114, allocations: 125 kB / 0.8399 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.8115, allocations: 2.375 kB / 0.8399 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.8115, allocations: 14.09 kB / 0.8399 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8115, allocations: 0 / 0.8399 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8115, allocations: 1.031 kB / 0.8399 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8116, allocations: 0 / 0.8399 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.8119, allocations: 252.4 kB / 0.8401 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8119, allocations: 5.312 kB / 0.8401 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/0.8148, allocations: 465.4 kB / 0.8406 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8148, allocations: 0 / 0.8406 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.8149, allocations: 6.766 kB / 0.8406 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8149, allocations: 0 / 0.8406 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8149, allocations: 3.938 kB / 0.8406 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.8253, allocations: 1.906 MB / 0.8424 GB, free: 21.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.8254, allocations: 9.141 kB / 0.8425 GB, free: 21.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.8254, allocations: 9.25 kB / 0.8425 GB, free: 21.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/0.8283, allocations: 449.1 kB / 0.8429 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.8283, allocations: 9.375 kB / 0.8429 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.8284, allocations: 5.234 kB / 0.8429 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.8284, allocations: 91.17 kB / 0.843 GB, free: 21.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.8284, allocations: 0 / 0.843 GB, free: 21.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003334/0.8287, allocations: 35.31 kB / 0.843 GB, free: 21.33 MB / 0.6387 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.0001544/0.8289, allocations: 91.53 kB / 0.8431 GB, free: 21.24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009987/0.8389, allocations: 1.873 MB / 0.8449 GB, free: 20.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8389, allocations: 0 / 0.8449 GB, free: 20.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005211/0.8441, allocations: 0.9404 MB / 0.8459 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.8445, allocations: 5.156 kB / 0.8459 GB, free: 20.06 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.8502, allocations: 1.045 MB / 0.8469 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.8502, allocations: 67.72 kB / 0.847 GB, free: 19.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.8505, allocations: 30.25 kB / 0.847 GB, free: 19.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.8507, allocations: 19.69 kB / 0.847 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/0.8507, allocations: 0 / 0.847 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.005574/0.8563, allocations: 2.717 MB / 0.8497 GB, free: 17.96 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.161508321762085] Failed to read output from testmodel.py, exit status != 0: 0.8661352209746838 0.878627301 0.21294616099999994 Calling exit ...