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.001023/0.001023, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001169/0.001169, allocations: 173 kB / 23.02 MB, free: 1.547 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.9766/0.9766, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8525/0.8525, allocations: 154.9 MB / 414.8 MB, free: 412 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.804e-06/1.804e-06, allocations: 0 / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.912e-05, allocations: 5.312 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001289/0.001318, allocations: 0.601 MB / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002451/0.001564, allocations: 44.58 kB / 0.5214 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.00158, allocations: 0 / 0.5214 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.001601, allocations: 0 / 0.5214 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.001609, allocations: 0.5625 kB / 0.5214 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.001886, allocations: 21.12 kB / 0.5214 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.001934, allocations: 0.9062 kB / 0.5214 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.001972, allocations: 0 / 0.5214 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.002, allocations: 8.625 kB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.002026, allocations: 0.875 kB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.00204, allocations: 0.5938 kB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.002136, allocations: 19.97 kB / 0.5214 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.002148, allocations: 4.625 kB / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.002163, allocations: 0.8438 kB / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.002251, allocations: 23.84 kB / 0.5215 GB, free: 1.098 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.002255, allocations: 4.969 kB / 0.5215 GB, free: 1.094 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.002256, allocations: 0 / 0.5215 GB, free: 1.094 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.002262, allocations: 0 / 0.5215 GB, free: 1.094 MB / 490.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.0002591/0.002521, allocations: 338.2 kB / 0.5218 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.002559, allocations: 8.031 kB / 0.5218 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.002769, allocations: 12.92 kB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.748e-05/0.002836, allocations: 108.6 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.002851, allocations: 10.12 kB / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.002861, allocations: 384 / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.00299, allocations: 50.89 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.002997, allocations: 0.9375 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.003007, allocations: 384 / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.003015, allocations: 1.781 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.003033, allocations: 3.938 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.003135, allocations: 108.6 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.003181, allocations: 28.3 kB / 0.5221 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.003201, allocations: 11.78 kB / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.003218, allocations: 0 / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.00324, allocations: 47.34 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.003241, allocations: 0 / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.00337, allocations: 29.7 kB / 0.5222 GB, free: 224 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.003403, allocations: 55.41 kB / 0.5222 GB, free: 156 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.096e-05/0.003444, allocations: 144.2 kB / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.003471, allocations: 25.7 kB / 0.5224 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.003504, allocations: 126.9 kB / 0.5225 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.003536, allocations: 3.938 kB / 0.5225 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.00357, allocations: 27.36 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.003703, allocations: 496.1 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.003725, allocations: 0.5625 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.003736, allocations: 8.938 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.003776, allocations: 8.531 kB / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.003779, allocations: 0 / 0.523 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.951e-05/0.003838, allocations: 42.66 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.003855, allocations: 4 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.003863, allocations: 5.031 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.003877, allocations: 0 / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.003961, allocations: 4 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.003966, allocations: 3.125 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.003983, allocations: 3.938 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.003989, allocations: 0 / 0.5231 GB, free: 15.22 MB / 0.4948 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 (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 7.382e-05/0.004063, allocations: 160.6 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.004069, allocations: 4.281 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.004099, allocations: 6.984 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.004102, allocations: 0 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.004106, allocations: 3.031 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004109, allocations: 0 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.176e-05/0.00417, allocations: 112.6 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004172, allocations: 0 / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.004189, allocations: 4 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004191, allocations: 0 / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.004199, allocations: 3.984 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.004199, allocations: 0 / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004201, allocations: 1.5 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.004273, allocations: 76.34 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.004277, allocations: 0 / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.004289, allocations: 4.484 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.004299, allocations: 4 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.004314, allocations: 2.938 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.004316, allocations: 3.938 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.449e-05/0.004351, allocations: 119.2 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004351, allocations: 0 / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001159/0.004467, allocations: 0 / 0.5236 GB, free: 14.66 MB / 0.4948 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 (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.742e-05/0.004564, allocations: 99.19 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.896e-05/0.004653, allocations: 14.12 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.004655, allocations: 0 / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.004668, allocations: 11.67 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.004777, allocations: 8 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.004997, allocations: 85.42 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.005028, allocations: 59.28 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.00505, allocations: 2.188 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.005074, allocations: 8.5 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.005075, allocations: 3.938 kB / 0.5239 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.001997/0.007072, allocations: 264.4 kB / 0.5241 GB, free: 14.06 MB / 0.4948 GB " [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.8198155551217496]