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.0007448/0.0007448, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007567/0.0007567, allocations: 177.9 kB / 23.22 MB, free: 1.348 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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.7289/0.7289, allocations: 154.5 MB / 414.5 MB, free: 0.8594 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.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 2.004e-06/2.004e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.678e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001671/0.001698, allocations: 0.5988 MB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.00198, allocations: 51.73 kB / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.001997, allocations: 0 / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.002015, allocations: 0 / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.002022, allocations: 0 / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.002307, allocations: 11.94 kB / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.002361, allocations: 7.984 kB / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.002409, allocations: 0 / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.002437, allocations: 0 / 0.62 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.002472, allocations: 4 kB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.002488, allocations: 4 kB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.002608, allocations: 15.98 kB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.002622, allocations: 3.938 kB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.002639, allocations: 4 kB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.00275, allocations: 19.95 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002752, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.343e-06/0.002754, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.002759, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB 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.00029/0.003049, allocations: 246.4 kB / 0.6203 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.003094, allocations: 9.469 kB / 0.6203 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.003339, allocations: 24.84 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.003421, allocations: 101.8 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.003435, allocations: 4.375 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.003446, allocations: 4.312 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.003588, allocations: 34.25 kB / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.003597, allocations: 192 / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.003608, allocations: 384 / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.003614, allocations: 384 / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.003683, allocations: 15.92 kB / 0.6205 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.003812, allocations: 101.3 kB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.003882, allocations: 22.59 kB / 0.6206 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.003923, allocations: 12.86 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.003944, allocations: 0 / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.00397, allocations: 34.55 kB / 0.6206 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.003971, allocations: 0 / 0.6206 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002141/0.004185, allocations: 45.78 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.004224, allocations: 51.41 kB / 0.6207 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.6e-05/0.00426, allocations: 93.86 kB / 0.6208 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.004274, allocations: 29.7 kB / 0.6208 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.004299, allocations: 80.14 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.004334, allocations: 0 / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.004367, allocations: 13.7 kB / 0.6209 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.004475, allocations: 318.8 kB / 0.6212 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.004513, allocations: 3.938 kB / 0.6212 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.004544, allocations: 15.95 kB / 0.6212 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.349e-05/0.004617, allocations: 20.84 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.004619, allocations: 0 / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/0.004723, allocations: 37.69 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.004739, allocations: 8 kB / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.004746, allocations: 0 / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.004761, allocations: 0 / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.004829, allocations: 7.984 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.004834, allocations: 4.094 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.004856, allocations: 3.938 kB / 0.6213 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.004862, allocations: 0 / 0.6213 GB, free: 10.99 MB / 0.5886 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 6.827e-05/0.004931, allocations: 114.8 kB / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.004938, allocations: 0 / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.004971, allocations: 3 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004973, allocations: 0 / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.004977, allocations: 0 / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.004981, allocations: 3.984 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.49e-05/0.005056, allocations: 109.3 kB / 0.6215 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.005058, allocations: 3.938 kB / 0.6215 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.005089, allocations: 0 / 0.6215 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.005094, allocations: 7.984 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.005101, allocations: 0 / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.005103, allocations: 4 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.005105, allocations: 3.984 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.005231, allocations: 65.06 kB / 0.6216 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.005236, allocations: 0 / 0.6216 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.005247, allocations: 4.031 kB / 0.6216 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.00527, allocations: 4 kB / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.005285, allocations: 3.984 kB / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.005288, allocations: 0 / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.005316, allocations: 79.22 kB / 0.6217 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.005316, allocations: 0 / 0.6217 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002045/0.005521, allocations: 4 kB / 0.6217 GB, free: 10.53 MB / 0.5886 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.0001037/0.005624, allocations: 99.19 kB / 0.6218 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.005754, allocations: 15.98 kB / 0.6218 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.005756, allocations: 3.938 kB / 0.6218 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.005789, allocations: 7.984 kB / 0.6218 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.005937, allocations: 2.188 kB / 0.6218 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.006216, allocations: 106.7 kB / 0.6219 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.006261, allocations: 55.36 kB / 0.622 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.006292, allocations: 8.5 kB / 0.622 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.006293, allocations: 0 / 0.622 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.001654/0.007947, allocations: 403.8 kB / 0.6224 GB, free: 9.781 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.035287659615278] Failed to read output from testmodel.py, exit status != 0: 0.0143204340711236 0.023689917 0.019271390000000003 Calling exit ...