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.000868/0.000868, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003872/0.00474, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009088/0.0009088, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002115, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9984/0.9984, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1393/1.138, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7436/0.7436, allocations: 155.4 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2734/1.017, allocations: 49.13 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.503e-06/1.503e-06, allocations: 0 / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.386e-05, allocations: 2.312 kB / 450 MB, free: 4.539 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001083/0.001097, allocations: 0.6555 MB / 450.7 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 8.714e-05/0.001184, allocations: 44.8 kB / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-06/0.001193, allocations: 0 / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.246e-06/0.001196, allocations: 0.6562 kB / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.81e-07/0.001197, allocations: 0 / 450.7 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.213e-05/0.001279, allocations: 17.19 kB / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.811e-05/0.001317, allocations: 4.938 kB / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.001354, allocations: 4.656 kB / 450.7 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.001385, allocations: 9.234 kB / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.789e-05/0.001413, allocations: 0 / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.001425, allocations: 1.453 kB / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.001523, allocations: 23.97 kB / 450.8 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.001535, allocations: 1.484 kB / 450.8 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-06/0.001543, allocations: 4 kB / 450.8 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.293e-05/0.001616, allocations: 13.14 kB / 450.8 MB, free: 3.809 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.001627, allocations: 5.125 kB / 450.8 MB, free: 3.805 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001627, allocations: 0 / 450.8 MB, free: 3.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.974e-06/0.001635, allocations: 0 / 450.8 MB, free: 3.805 MB / 426.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.0002139/0.001849, allocations: 219.1 kB / 451 MB, free: 3.566 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.001877, allocations: 8.031 kB / 451 MB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.002098, allocations: 94.02 kB / 451.1 MB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.189e-05/0.00216, allocations: 110.6 kB / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.002168, allocations: 384 / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.002175, allocations: 384 / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.002263, allocations: 53.16 kB / 451.3 MB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00227, allocations: 192 / 451.3 MB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.002277, allocations: 2.641 kB / 451.3 MB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.002283, allocations: 384 / 451.3 MB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.379e-05/0.002297, allocations: 5.906 kB / 451.3 MB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.277e-05/0.002359, allocations: 57.05 kB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.002393, allocations: 22.59 kB / 451.4 MB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.205e-05/0.002405, allocations: 12.36 kB / 451.4 MB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.002418, allocations: 0 / 451.4 MB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.002437, allocations: 36.58 kB / 451.4 MB, free: 3.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 4.41e-07/0.002438, allocations: 0 / 451.4 MB, free: 3.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.502e-05/0.002523, allocations: 34.42 kB / 451.4 MB, free: 3.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.002546, allocations: 51.41 kB / 451.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.371e-05/0.00257, allocations: 91.08 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.002578, allocations: 25.7 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.002595, allocations: 80.14 kB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.002622, allocations: 7.594 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.002644, allocations: 13.72 kB / 451.7 MB, free: 2.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.002719, allocations: 314.8 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.002728, allocations: 1.156 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-06/0.002734, allocations: 4 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.002759, allocations: 14.06 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.002761, allocations: 1.594 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.427e-05/0.002795, allocations: 33.69 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.002805, allocations: 4 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.002809, allocations: 1.469 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.002819, allocations: 0.9844 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.002874, allocations: 8 kB / 452.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.002876, allocations: 0 / 452.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.002888, allocations: 6.797 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.002892, allocations: 4 kB / 452.1 MB, free: 2.363 MB / 426.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 4.13e-05/0.002934, allocations: 114.9 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-06/0.002937, allocations: 0 / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.002956, allocations: 3.625 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.002957, allocations: 2.344 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.002958, allocations: 0.9844 kB / 452.2 MB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.00296, allocations: 7.938 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.887e-05/0.002999, allocations: 61.84 kB / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.002999, allocations: 0 / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.003014, allocations: 11.98 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-06/0.003017, allocations: 1.406 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-07/0.003017, allocations: 0 / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-06/0.003021, allocations: 0 / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003021, allocations: 0 / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.003022, allocations: 5.938 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.354e-05/0.003066, allocations: 57.06 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.003072, allocations: 1.219 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.003081, allocations: 4 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-06/0.003088, allocations: 0 / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-06/0.003089, allocations: 0.6875 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.911e-06/0.003095, allocations: 4.859 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003095, allocations: 0.5625 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.486e-05/0.00318, allocations: 8.688 kB / 452.4 MB, free: 2.039 MB / 426.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 6.536e-05/0.003245, allocations: 82.22 kB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.798e-05/0.003293, allocations: 10.72 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.003296, allocations: 0 / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.003309, allocations: 10.03 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.033e-05/0.003359, allocations: 12.86 kB / 452.5 MB, free: 1.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001372/0.003496, allocations: 80.09 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.559e-05/0.003522, allocations: 59.2 kB / 452.6 MB, free: 1.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.844e-05/0.00354, allocations: 1.703 kB / 452.6 MB, free: 1.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.003572, allocations: 52.38 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.003572, allocations: 0 / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of Templates: time 0.00136/0.004932, allocations: 285.2 kB / 453 MB, free: 1.418 MB / 426.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4264936354011297]