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.001463/0.001463, allocations: 103.6 kB / 18.95 MB, free: 2.547 MB / 14.72 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.002471/0.002471, allocations: 214.8 kB / 22.25 MB, free: 4.867 MB / 14.72 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 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-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 1.35/1.35, allocations: 203.8 MB / 0.5041 GB, free: 4.676 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 71.89 kB / 0.7187 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6788, allocations: 102 MB / 0.8183 GB, free: 28.94 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001943/0.6807, allocations: 0.6075 MB / 0.8189 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.681, allocations: 47.55 kB / 0.8189 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.6811, allocations: 0 / 0.8189 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.6811, allocations: 0 / 0.8189 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-06/0.6811, allocations: 1.531 kB / 0.8189 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.6814, allocations: 13.14 kB / 0.8189 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.6814, allocations: 1.656 kB / 0.8189 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.6815, allocations: 6.562 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.6815, allocations: 2.812 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 3.007e-05/0.6815, allocations: 3.984 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.6815, allocations: 0.6875 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.6817, allocations: 20.61 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.6817, allocations: 0 / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.6817, allocations: 2.625 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.6818, allocations: 11.38 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6818, allocations: 0.6562 kB / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6818, allocations: 0 / 0.819 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6818, allocations: 6.344 kB / 0.819 GB, free: 28.54 MB / 0.6387 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.0003205/0.6822, allocations: 240 kB / 0.8192 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.6822, allocations: 11.94 kB / 0.8192 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.6826, allocations: 19.23 kB / 0.8193 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.6826, allocations: 108.8 kB / 0.8194 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6827, allocations: 0.9062 kB / 0.8194 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.6827, allocations: 2.281 kB / 0.8194 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.6829, allocations: 34.89 kB / 0.8194 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.6829, allocations: 1.688 kB / 0.8194 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.6829, allocations: 3.938 kB / 0.8194 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6829, allocations: 0.5312 kB / 0.8194 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.683, allocations: 15 kB / 0.8194 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.6831, allocations: 100.6 kB / 0.8195 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.6832, allocations: 26.56 kB / 0.8195 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.6833, allocations: 10.66 kB / 0.8196 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.6833, allocations: 0.5312 kB / 0.8196 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6834, allocations: 37.34 kB / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.6834, allocations: 0 / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0002801/0.6836, allocations: 48.45 kB / 0.8196 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.6837, allocations: 52.16 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.803e-05/0.6837, allocations: 91.38 kB / 0.8198 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.6837, allocations: 31.11 kB / 0.8198 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.579e-05/0.6837, allocations: 84.95 kB / 0.8199 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.6837, allocations: 1.031 kB / 0.8199 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.6838, allocations: 13.97 kB / 0.8199 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.6838, allocations: 316.5 kB / 0.8202 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.6839, allocations: 5.891 kB / 0.8202 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.6839, allocations: 9.531 kB / 0.8202 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.684, allocations: 15.56 kB / 0.8202 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.684, allocations: 1.75 kB / 0.8202 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001176/0.6842, allocations: 43.03 kB / 0.8203 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6842, allocations: 5.719 kB / 0.8203 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6842, allocations: 0.8906 kB / 0.8203 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6842, allocations: 0.5625 kB / 0.8203 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.6843, allocations: 15.94 kB / 0.8203 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.6843, allocations: 4.469 kB / 0.8203 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.6843, allocations: 2.953 kB / 0.8203 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.6843, allocations: 1.438 kB / 0.8203 GB, free: 27.21 MB / 0.6387 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.028e-05/0.6844, allocations: 116.1 kB / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.6844, allocations: 0.9844 kB / 0.8204 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.6844, allocations: 12.66 kB / 0.8204 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6844, allocations: 3.938 kB / 0.8204 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6844, allocations: 0.7031 kB / 0.8204 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6844, allocations: 0.8438 kB / 0.8204 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.003e-05/0.6845, allocations: 96.31 kB / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6845, allocations: 0 / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.6845, allocations: 5.156 kB / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6845, allocations: 2.078 kB / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.6845, allocations: 2.812 kB / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6845, allocations: 0 / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6845, allocations: 5.719 kB / 0.8205 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.6847, allocations: 69.34 kB / 0.8206 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.6847, allocations: 1.797 kB / 0.8206 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.6847, allocations: 1.469 kB / 0.8206 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.6847, allocations: 5.969 kB / 0.8206 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.6848, allocations: 4.656 kB / 0.8206 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.6848, allocations: 1.688 kB / 0.8206 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.6848, allocations: 76.06 kB / 0.8207 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4e-08/0.6848, allocations: 0 / 0.8207 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001884/0.685, allocations: 1.75 kB / 0.8207 GB, free: 26.8 MB / 0.6387 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.0001076/0.6851, allocations: 92.48 kB / 0.8208 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.6852, allocations: 16.97 kB / 0.8208 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6853, allocations: 4 kB / 0.8208 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.6853, allocations: 5.891 kB / 0.8208 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.6854, allocations: 6.281 kB / 0.8208 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.6857, allocations: 89.98 kB / 0.8209 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.6857, allocations: 55.16 kB / 0.8209 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.6858, allocations: 5.469 kB / 0.821 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.6858, allocations: 9.859 kB / 0.821 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6858, allocations: 0 / 0.821 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.002558/0.6883, allocations: 213.1 kB / 0.8212 GB, free: 26.46 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.8888312838971615] Failed to read output from testmodel.py, exit status != 0: 0.6975465323776007 0.710958364 0.02625717899999994 Calling exit ...