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.0007421/0.0007421, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007876/0.0007876, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8479/0.8479, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7197/0.7197, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 378.7 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 179] 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.503e-06/1.503e-06, allocations: 0 / 0.6193 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.271e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001894/0.001917, allocations: 1.471 MB / 0.6207 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.002607, allocations: 0.5804 MB / 0.6213 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.002649, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.002672, allocations: 7.922 kB / 0.6213 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.002705, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.002963, allocations: 71.69 kB / 0.6214 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.003038, allocations: 27.86 kB / 0.6214 GB, free: 10 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 6.892e-05/0.003107, allocations: 7.938 kB / 0.6214 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.003201, allocations: 23.97 kB / 0.6214 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.00324, allocations: 11.98 kB / 0.6214 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.00325, allocations: 0 / 0.6214 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.00334, allocations: 55.83 kB / 0.6215 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.003351, allocations: 7.984 kB / 0.6215 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.003364, allocations: 4 kB / 0.6215 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.003487, allocations: 79.77 kB / 0.6216 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003491, allocations: 8 kB / 0.6216 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003491, allocations: 0 / 0.6216 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003495, allocations: 0 / 0.6216 GB, free: 9.805 MB / 0.5417 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.0003473/0.003843, allocations: 290 kB / 0.6218 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.003875, allocations: 9.469 kB / 0.6219 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006798/0.01067, allocations: 2.436 MB / 0.6242 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.01085, allocations: 145.7 kB / 0.6244 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.01086, allocations: 4.375 kB / 0.6244 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.01088, allocations: 4.375 kB / 0.6244 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.01326, allocations: 1.017 MB / 0.6254 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-06/0.01327, allocations: 192 / 0.6254 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.01329, allocations: 384 / 0.6254 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.01329, allocations: 3.938 kB / 0.6254 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/0.01817, allocations: 1.861 MB / 0.6272 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.0211, allocations: 1.392 MB / 0.6286 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.02565, allocations: 1.875 MB / 0.6304 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.02794, allocations: 0.9374 MB / 0.6313 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.02795, allocations: 4 kB / 0.6313 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.02798, allocations: 38.5 kB / 0.6313 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.02798, allocations: 0 / 0.6313 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.007038/0.03501, allocations: 2.745 MB / 0.634 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.03505, allocations: 51.41 kB / 0.6341 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.03512, allocations: 113.8 kB / 0.6342 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.03514, allocations: 25.7 kB / 0.6342 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.03519, allocations: 88.12 kB / 0.6343 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.03522, allocations: 15.92 kB / 0.6343 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.03529, allocations: 21.69 kB / 0.6343 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.03537, allocations: 318.8 kB / 0.6346 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.03763, allocations: 0.9287 MB / 0.6355 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.03988, allocations: 0.9287 MB / 0.6364 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/0.04403, allocations: 1.679 MB / 0.6381 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.04403, allocations: 384 / 0.6381 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004532/0.04856, allocations: 1.82 MB / 0.6399 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.04858, allocations: 7.938 kB / 0.6399 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.04859, allocations: 0 / 0.6399 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.0486, allocations: 3.938 kB / 0.6399 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.04988, allocations: 467.5 kB / 0.6403 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.04989, allocations: 0 / 0.6403 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.05133, allocations: 451.5 kB / 0.6408 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.05135, allocations: 11.98 kB / 0.6408 GB, free: 5.957 MB / 0.5573 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.0001032/0.05145, allocations: 114.8 kB / 0.6409 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.05149, allocations: 7.938 kB / 0.6409 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.05153, allocations: 11.62 kB / 0.6409 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.05154, allocations: 0 / 0.6409 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.05154, allocations: 0 / 0.6409 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.05155, allocations: 0 / 0.6409 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.05179, allocations: 250.2 kB / 0.6411 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.05179, allocations: 0 / 0.6411 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.053, allocations: 463.4 kB / 0.6416 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.053, allocations: 3.938 kB / 0.6416 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.05302, allocations: 11.92 kB / 0.6416 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.05303, allocations: 4 kB / 0.6416 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.05303, allocations: 0 / 0.6416 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/0.05743, allocations: 1.908 MB / 0.6435 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.05745, allocations: 3.984 kB / 0.6435 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.05748, allocations: 3.938 kB / 0.6435 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.05868, allocations: 459.5 kB / 0.6439 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.05871, allocations: 3.984 kB / 0.6439 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.05873, allocations: 3.984 kB / 0.6439 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.05877, allocations: 91.27 kB / 0.644 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.05877, allocations: 0 / 0.644 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001972/0.05896, allocations: 39.95 kB / 0.644 GB, free: 2.547 MB / 0.5573 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.0001089/0.05907, allocations: 91.25 kB / 0.6441 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004547/0.06362, allocations: 1.869 MB / 0.6459 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.06362, allocations: 0 / 0.6459 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2298/0.2934, allocations: 0.9359 MB / 0.6469 GB, free: 41.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2937, allocations: 3.781 kB / 0.6469 GB, free: 41.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.2982, allocations: 1.074 MB / 0.6479 GB, free: 41.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.2982, allocations: 64.92 kB / 0.648 GB, free: 41.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.2985, allocations: 31.05 kB / 0.648 GB, free: 41.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/0.2985, allocations: 0.9688 kB / 0.648 GB, free: 41.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.006394/0.3049, allocations: 2.797 MB / 0.6507 GB, free: 41.45 MB / 0.5573 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: 5.297312069684267] Failed to read output from testmodel.py, exit status != 0: 0.31078306026756763 0.320397358 0.31492483000000004 Calling exit ...