Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001283/0.001283, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001782/0.001782, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8641/0.8641, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.003362/0.003362, allocations: 66.33 kB / 0.6198 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.236, allocations: 85.91 MB / 0.7037 GB, free: 0.9102 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002475/0.2385, allocations: 0.5836 MB / 0.7043 GB, free: 336 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.2388, allocations: 52.25 kB / 0.7043 GB, free: 284 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.2388, allocations: 0 / 0.7043 GB, free: 284 kB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.2388, allocations: 0 / 0.7043 GB, free: 284 kB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.2388, allocations: 0 / 0.7043 GB, free: 284 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2391, allocations: 19.91 kB / 0.7043 GB, free: 264 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.2391, allocations: 4 kB / 0.7044 GB, free: 260 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.2392, allocations: 0 / 0.7044 GB, free: 260 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.2392, allocations: 0 / 0.7044 GB, free: 260 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 2.282e-05/0.2392, allocations: 0 / 0.7044 GB, free: 260 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.2392, allocations: 0 / 0.7044 GB, free: 260 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2394, allocations: 23.97 kB / 0.7044 GB, free: 236 kB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.2394, allocations: 4 kB / 0.7044 GB, free: 232 kB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.2394, allocations: 0 / 0.7044 GB, free: 232 kB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2395, allocations: 23.91 kB / 0.7044 GB, free: 208 kB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2395, allocations: 0 / 0.7044 GB, free: 208 kB / 0.5138 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2395, allocations: 0 / 0.7044 GB, free: 208 kB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2395, allocations: 0 / 0.7044 GB, free: 208 kB / 0.5138 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.0003936/0.2399, allocations: 242.4 kB / 0.7046 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.24, allocations: 12.02 kB / 0.7046 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.2403, allocations: 24.91 kB / 0.7047 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2404, allocations: 106.5 kB / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.2404, allocations: 384 / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2405, allocations: 384 / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2406, allocations: 34.25 kB / 0.7048 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2406, allocations: 192 / 0.7048 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2407, allocations: 3.938 kB / 0.7048 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2407, allocations: 7.938 kB / 0.7048 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.2408, allocations: 11.98 kB / 0.7048 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.241, allocations: 116.8 kB / 0.7049 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.2411, allocations: 26.53 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.2412, allocations: 12.91 kB / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2412, allocations: 0 / 0.705 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.2412, allocations: 42.56 kB / 0.705 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.2412, allocations: 0 / 0.705 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003484/0.2416, allocations: 49.58 kB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.2416, allocations: 55.41 kB / 0.7051 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.2417, allocations: 93.84 kB / 0.7052 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2417, allocations: 29.64 kB / 0.7052 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.2418, allocations: 80.14 kB / 0.7053 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2418, allocations: 128 / 0.7053 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.2419, allocations: 13.72 kB / 0.7053 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.242, allocations: 314.8 kB / 0.7056 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.2421, allocations: 3.984 kB / 0.7056 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.2422, allocations: 8 kB / 0.7056 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.2423, allocations: 16.84 kB / 0.7056 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2423, allocations: 4.062 kB / 0.7057 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002171/0.2425, allocations: 37.69 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2426, allocations: 8 kB / 0.7057 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2426, allocations: 3.938 kB / 0.7057 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2426, allocations: 3.938 kB / 0.7057 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2427, allocations: 7.922 kB / 0.7057 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2427, allocations: 4 kB / 0.7057 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.2428, allocations: 0 / 0.7057 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2428, allocations: 0 / 0.7057 GB, free: 14.67 MB / 0.5294 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.0001043/0.2429, allocations: 109.9 kB / 0.7058 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.2429, allocations: 4 kB / 0.7058 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.2429, allocations: 14.92 kB / 0.7058 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2429, allocations: 0 / 0.7058 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2429, allocations: 0 / 0.7058 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2429, allocations: 0 / 0.7058 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.2431, allocations: 112.8 kB / 0.7059 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2431, allocations: 4 kB / 0.706 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.2431, allocations: 7.984 kB / 0.706 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2431, allocations: 0 / 0.706 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2432, allocations: 7.938 kB / 0.706 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2432, allocations: 0 / 0.706 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2432, allocations: 0 / 0.706 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.2434, allocations: 69.05 kB / 0.706 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.2434, allocations: 15.86 kB / 0.706 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2434, allocations: 7.969 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.2435, allocations: 0 / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.2435, allocations: 0 / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2435, allocations: 0 / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.2435, allocations: 79.28 kB / 0.7061 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2435, allocations: 0 / 0.7061 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002545/0.2438, allocations: 0 / 0.7061 GB, free: 14.17 MB / 0.5294 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.000126/0.2439, allocations: 91.25 kB / 0.7062 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2441, allocations: 19.97 kB / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2441, allocations: 0 / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.2441, allocations: 4 kB / 0.7062 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.2443, allocations: 6.5 kB / 0.7062 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.2446, allocations: 114.6 kB / 0.7064 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.245, allocations: 0.6729 MB / 0.707 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.245, allocations: 15.42 kB / 0.707 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.245, allocations: 3.938 kB / 0.707 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.002061/0.2471, allocations: 387.7 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.85765014286153] Failed to read output from testmodel.py, exit status != 0: 0.25766485603526235 0.27537810100000004 0.032567485 Calling exit ...