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.001845/0.001845, allocations: 89.48 kB / 19.44 MB, free: 336 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.002019/0.002019, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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-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 1.326/1.326, allocations: 154.8 MB / 414.4 MB, free: 460 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 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.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.182e-06/1.182e-06, allocations: 1.094 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.454e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001603/0.001628, allocations: 0.6005 MB / 0.5205 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.00187, allocations: 47.8 kB / 0.5205 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.001886, allocations: 1.094 kB / 0.5205 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.001898, allocations: 1.719 kB / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.001903, allocations: 0 / 0.5206 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.002135, allocations: 7.938 kB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.002185, allocations: 11.98 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.002222, allocations: 1.375 kB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.507e-05/0.002247, allocations: 336 / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.002273, allocations: 3.938 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.002285, allocations: 0.5312 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.002397, allocations: 19.98 kB / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.002409, allocations: 0.75 kB / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.002423, allocations: 0 / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.846e-05/0.002521, allocations: 25.42 kB / 0.5206 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.002524, allocations: 0 / 0.5206 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002524, allocations: 0 / 0.5206 GB, free: 1.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002528, allocations: 0 / 0.5206 GB, free: 1.527 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.0003716/0.0029, allocations: 341.7 kB / 0.5209 GB, free: 1.156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.002937, allocations: 12.03 kB / 0.521 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.003164, allocations: 16.33 kB / 0.521 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.398e-05/0.003258, allocations: 108.6 kB / 0.5211 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.003268, allocations: 384 / 0.5211 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.003277, allocations: 4.312 kB / 0.5211 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.003385, allocations: 34.25 kB / 0.5211 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.003393, allocations: 192 / 0.5211 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.0034, allocations: 384 / 0.5211 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.003404, allocations: 384 / 0.5211 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.003466, allocations: 11.92 kB / 0.5211 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.003647, allocations: 109.2 kB / 0.5212 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.003726, allocations: 31.66 kB / 0.5213 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.00377, allocations: 16.17 kB / 0.5213 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.003787, allocations: 0.875 kB / 0.5213 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.003829, allocations: 37.45 kB / 0.5213 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.00383, allocations: 0 / 0.5213 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001976/0.004028, allocations: 39.16 kB / 0.5213 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.004071, allocations: 51.41 kB / 0.5214 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.004152, allocations: 143.2 kB / 0.5215 GB, free: 448 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.004171, allocations: 25.7 kB / 0.5216 GB, free: 416 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.004235, allocations: 126.9 kB / 0.5217 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.004263, allocations: 12.94 kB / 0.5217 GB, free: 272 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.0043, allocations: 15.38 kB / 0.5217 GB, free: 248 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.004567, allocations: 496.1 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.004604, allocations: 13.48 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.004627, allocations: 0 / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.544e-05/0.004692, allocations: 16.5 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.004694, allocations: 0 / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001142/0.004808, allocations: 42.97 kB / 0.5223 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.004823, allocations: 4.938 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004827, allocations: 0 / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.00484, allocations: 1.344 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.004902, allocations: 4 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.004906, allocations: 0 / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.004937, allocations: 10.45 kB / 0.5223 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.004942, allocations: 0 / 0.5223 GB, free: 15.65 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 0.0001138/0.005056, allocations: 160.5 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.005064, allocations: 0 / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.005095, allocations: 7 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005096, allocations: 0 / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005099, allocations: 2.75 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.005106, allocations: 4 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005212, allocations: 108.6 kB / 0.5225 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.005215, allocations: 3.984 kB / 0.5225 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.00525, allocations: 4 kB / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005251, allocations: 0 / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005257, allocations: 0 / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005258, allocations: 1.125 kB / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005259, allocations: 0 / 0.5225 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.00541, allocations: 77.31 kB / 0.5226 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.005421, allocations: 11.89 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.005433, allocations: 3.984 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.005456, allocations: 0.9375 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.005471, allocations: 3.938 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.005477, allocations: 4.484 kB / 0.5226 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.00554, allocations: 123.2 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00554, allocations: 0.6875 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001735/0.005714, allocations: 4.594 kB / 0.5228 GB, free: 15.08 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 0.0001575/0.005871, allocations: 96.41 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.005995, allocations: 19.69 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005997, allocations: 2.438 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.006036, allocations: 15.67 kB / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.006158, allocations: 0 / 0.5229 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.006405, allocations: 91.47 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.006469, allocations: 59.3 kB / 0.523 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.006496, allocations: 3.031 kB / 0.523 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.006526, allocations: 8.5 kB / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.006526, allocations: 4 kB / 0.5231 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.00246/0.008986, allocations: 255 kB / 0.5233 GB, free: 14.48 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: 6.003010230022483]