Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.00127/0.00127, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001446/0.001446, allocations: 181 kB / 23.36 MB, free: 1.137 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.9879/0.9879, allocations: 177.2 MB / 203.8 MB, free: 5.484 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-535:34: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-535:42: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.7951/0.7951, allocations: 154.9 MB / 415.1 MB, free: 264 kB / 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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 480.5 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.401e-05, allocations: 2.312 kB / 480.5 MB, free: 6.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001536/0.00156, allocations: 0.6483 MB / 481.1 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002186/0.001779, allocations: 50.33 kB / 481.2 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.001795, allocations: 0 / 481.2 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.001807, allocations: 0 / 481.2 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.001813, allocations: 0.625 kB / 481.2 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.002013, allocations: 16.52 kB / 481.2 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.225e-05/0.002055, allocations: 5.75 kB / 481.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.00209, allocations: 0 / 481.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.002122, allocations: 0.7656 kB / 481.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.357e-05/0.002145, allocations: 4 kB / 481.2 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.002156, allocations: 0 / 481.2 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.002269, allocations: 25.36 kB / 481.2 MB, free: 5.797 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.00228, allocations: 4.547 kB / 481.2 MB, free: 5.793 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.367e-06/0.002289, allocations: 0 / 481.2 MB, free: 5.793 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.553e-05/0.002364, allocations: 16.62 kB / 481.2 MB, free: 5.777 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.002367, allocations: 5.344 kB / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002367, allocations: 0 / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002371, allocations: 0 / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001736/0.002544, allocations: 209.3 kB / 481.5 MB, free: 5.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.002576, allocations: 8.797 kB / 481.5 MB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.002747, allocations: 19.38 kB / 481.5 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.494e-05/0.002802, allocations: 114.3 kB / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.00281, allocations: 384 / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-06/0.002815, allocations: 384 / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.002902, allocations: 50.89 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.002907, allocations: 2.344 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.002913, allocations: 0.9219 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.002917, allocations: 384 / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.002935, allocations: 12.44 kB / 481.7 MB, free: 5.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.094e-05/0.002995, allocations: 54.17 kB / 481.7 MB, free: 5.246 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.542e-05/0.003031, allocations: 22.59 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.015e-05/0.003041, allocations: 6.031 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.003059, allocations: 3.938 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.003078, allocations: 35.86 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003079, allocations: 0.625 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 8.737e-05/0.003166, allocations: 34.33 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.003193, allocations: 52.8 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.429e-05/0.003217, allocations: 89.86 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.003226, allocations: 26.33 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.003244, allocations: 80.14 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.003269, allocations: 11.67 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.003292, allocations: 10.53 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.003363, allocations: 314.8 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.003375, allocations: 6.266 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.003383, allocations: 3.938 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.003409, allocations: 8.859 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00341, allocations: 0.9062 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.087e-05/0.003451, allocations: 33.69 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.003463, allocations: 5.656 kB / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.003468, allocations: 0 / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.003477, allocations: 4.531 kB / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.003527, allocations: 0 / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/0.003529, allocations: 1.312 kB / 482.4 MB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.003544, allocations: 7.984 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.003549, allocations: 0.9844 kB / 482.5 MB, free: 4.434 MB / 442.7 MB 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 (1): * Single equations (assignments): 1 * 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 5.297e-05/0.003602, allocations: 118.4 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-06/0.003606, allocations: 2.062 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.003627, allocations: 14.23 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.003628, allocations: 0 / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.003629, allocations: 0.9062 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.003632, allocations: 0 / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.564e-05/0.003677, allocations: 63 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.003678, allocations: 0 / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.003696, allocations: 9.078 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.003698, allocations: 4.641 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-06/0.003701, allocations: 0 / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.003701, allocations: 0 / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.003702, allocations: 0 / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.655e-05/0.003759, allocations: 61.06 kB / 482.7 MB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-06/0.003762, allocations: 1.656 kB / 482.7 MB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-06/0.003769, allocations: 4 kB / 482.7 MB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.003777, allocations: 0 / 482.7 MB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-06/0.003786, allocations: 3.938 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.003789, allocations: 5.656 kB / 482.7 MB, free: 4.121 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.372e-06/0.003795, allocations: 4.859 kB / 482.7 MB, free: 4.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003795, allocations: 0 / 482.7 MB, free: 4.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.956e-05/0.003885, allocations: 4.531 kB / 482.7 MB, free: 4.109 MB / 442.7 MB 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 (1): * Single equations (assignments): 1 * 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 9.463e-05/0.003979, allocations: 81.84 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.145e-05/0.004031, allocations: 9.609 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.004033, allocations: 0.875 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.004041, allocations: 9.453 kB / 482.8 MB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.507e-05/0.004096, allocations: 9.344 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000152/0.004248, allocations: 80.86 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.63e-05/0.004274, allocations: 51.36 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.217e-05/0.004297, allocations: 6.156 kB / 483 MB, free: 3.809 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.004327, allocations: 51.31 kB / 483 MB, free: 3.758 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.004328, allocations: 1.031 kB / 483 MB, free: 3.758 MB / 442.7 MB Notification: Performance of Templates: time 0.001525/0.005853, allocations: 274.5 kB / 483.3 MB, free: 3.5 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.635433288756758]