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.0008257/0.0008257, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 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.0008696/0.0008696, allocations: 203.2 kB / 23 MB, free: 3.129 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.8625/0.8625, allocations: 230.6 MB / 256.8 MB, free: 3.555 MB / 202.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.7294/0.7294, allocations: 203.8 MB / 0.5049 GB, free: 0.6953 MB / 410.7 MB " [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: 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.0008505/0.0008505, allocations: 63.91 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4303, allocations: 102 MB / 0.8191 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001218/0.4315, allocations: 0.5836 MB / 0.8197 GB, free: 24.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.4317, allocations: 49.69 kB / 0.8197 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.4317, allocations: 1.125 kB / 0.8197 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.4317, allocations: 1.031 kB / 0.8197 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-06/0.4318, allocations: 0.6562 kB / 0.8197 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.432, allocations: 21.02 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.432, allocations: 1.75 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.432, allocations: 1.688 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.403e-05/0.4321, allocations: 1.719 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.4321, allocations: 1.594 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.4321, allocations: 1.188 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.4322, allocations: 24.28 kB / 0.8198 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.4322, allocations: 3.938 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.4322, allocations: 2.844 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.4323, allocations: 19 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4323, allocations: 3.938 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4323, allocations: 0.625 kB / 0.8198 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4323, allocations: 0 / 0.8198 GB, free: 24.88 MB / 0.6355 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.0001673/0.4325, allocations: 243.3 kB / 0.8201 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4325, allocations: 11.12 kB / 0.8201 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.4327, allocations: 18.2 kB / 0.8201 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.304e-05/0.4327, allocations: 105.3 kB / 0.8202 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4327, allocations: 0.9688 kB / 0.8202 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.4327, allocations: 2.906 kB / 0.8202 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.4328, allocations: 38.95 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.4328, allocations: 192 / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4328, allocations: 6.031 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4328, allocations: 4 kB / 0.8202 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.4329, allocations: 14.75 kB / 0.8202 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.67e-05/0.433, allocations: 116.9 kB / 0.8204 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.433, allocations: 22.89 kB / 0.8204 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.433, allocations: 13.92 kB / 0.8204 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4331, allocations: 5.781 kB / 0.8204 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.4331, allocations: 39.47 kB / 0.8204 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.4331, allocations: 0 / 0.8204 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.4332, allocations: 46.81 kB / 0.8205 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.4332, allocations: 53.23 kB / 0.8205 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.116e-05/0.4333, allocations: 89.86 kB / 0.8206 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-06/0.4333, allocations: 25.7 kB / 0.8206 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-06/0.4333, allocations: 89.33 kB / 0.8207 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.4333, allocations: 0 / 0.8207 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.4333, allocations: 16.86 kB / 0.8207 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.618e-05/0.4333, allocations: 312.6 kB / 0.821 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.4334, allocations: 4.094 kB / 0.821 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.4334, allocations: 9.344 kB / 0.8211 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.4334, allocations: 20.2 kB / 0.8211 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4334, allocations: 4.438 kB / 0.8211 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.776e-05/0.4335, allocations: 39.72 kB / 0.8211 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4335, allocations: 5.5 kB / 0.8211 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4335, allocations: 0.7031 kB / 0.8211 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4335, allocations: 5.219 kB / 0.8211 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.4336, allocations: 3.547 kB / 0.8211 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.4336, allocations: 1.344 kB / 0.8211 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.4336, allocations: 5.422 kB / 0.8211 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4336, allocations: 4.734 kB / 0.8211 GB, free: 23.51 MB / 0.6355 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 3.287e-05/0.4336, allocations: 117.3 kB / 0.8213 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-06/0.4336, allocations: 0.5156 kB / 0.8213 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4337, allocations: 15.44 kB / 0.8213 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4337, allocations: 0.5625 kB / 0.8213 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4337, allocations: 1.188 kB / 0.8213 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4337, allocations: 0.75 kB / 0.8213 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.441e-05/0.4337, allocations: 115.4 kB / 0.8214 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4337, allocations: 1.281 kB / 0.8214 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.4337, allocations: 7.922 kB / 0.8214 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.4337, allocations: 0.625 kB / 0.8214 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4337, allocations: 5.125 kB / 0.8214 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.4337, allocations: 0.5938 kB / 0.8214 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4338, allocations: 1.453 kB / 0.8214 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.507e-05/0.4338, allocations: 65.05 kB / 0.8215 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.4338, allocations: 5.984 kB / 0.8215 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.4338, allocations: 3.938 kB / 0.8215 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.4338, allocations: 3.047 kB / 0.8215 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.4339, allocations: 5.609 kB / 0.8215 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4339, allocations: 0 / 0.8215 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.606e-06/0.4339, allocations: 81.17 kB / 0.8216 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4339, allocations: 3.938 kB / 0.8216 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001107/0.434, allocations: 0.8438 kB / 0.8216 GB, free: 23.05 MB / 0.6355 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 7.085e-05/0.4341, allocations: 96.67 kB / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.4341, allocations: 16.64 kB / 0.8217 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4341, allocations: 0 / 0.8217 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.4342, allocations: 6.031 kB / 0.8217 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.457e-05/0.4343, allocations: 1.406 kB / 0.8217 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.4344, allocations: 111.9 kB / 0.8218 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.076e-05/0.4345, allocations: 0.675 MB / 0.8224 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.4345, allocations: 9.688 kB / 0.8224 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4345, allocations: 0 / 0.8224 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.001297/0.4358, allocations: 400.1 kB / 0.8228 GB, free: 22.09 MB / 0.6355 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.409604331012815] Failed to read output from testmodel.py, exit status != 0: 0.4415905480273068 0.45069783999999996 0.016659029000000002 Calling exit ...