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.001854/0.001854, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002243/0.002243, allocations: 160.7 kB / 23.01 MB, free: 4.602 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.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.7927/0.7927, allocations: 101.3 MB / 361.1 MB, free: 8.766 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 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.00207/0.00207, allocations: 77.75 kB / 0.5357 GB, free: 12.63 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1419, allocations: 85.87 MB / 0.6195 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001595/0.1435, allocations: 0.5852 MB / 0.6201 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.1437, allocations: 47.81 kB / 0.6201 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.1437, allocations: 4 kB / 0.6201 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.1437, allocations: 0 / 0.6201 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.1437, allocations: 0 / 0.6201 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1439, allocations: 15.92 kB / 0.6202 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.062e-05/0.1439, allocations: 4 kB / 0.6202 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.144, allocations: 4 kB / 0.6202 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-06/0.144, allocations: 0 / 0.6202 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.144, allocations: 3.984 kB / 0.6202 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.144, allocations: 0 / 0.6202 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.1441, allocations: 19.98 kB / 0.6202 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1441, allocations: 3.984 kB / 0.6202 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.1441, allocations: 0 / 0.6202 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.368e-05/0.1442, allocations: 19.92 kB / 0.6202 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1442, allocations: 0 / 0.6202 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1442, allocations: 3.938 kB / 0.6202 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1442, allocations: 4 kB / 0.6202 GB, free: 6.02 MB / 0.5294 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.0002749/0.1445, allocations: 238.5 kB / 0.6204 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1445, allocations: 8.031 kB / 0.6205 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1448, allocations: 20.91 kB / 0.6205 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.1448, allocations: 106.5 kB / 0.6206 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1449, allocations: 4.312 kB / 0.6206 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.1449, allocations: 384 / 0.6206 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.145, allocations: 34.25 kB / 0.6206 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.145, allocations: 4.188 kB / 0.6206 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.145, allocations: 3.938 kB / 0.6206 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.145, allocations: 0 / 0.6206 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.1451, allocations: 11.98 kB / 0.6206 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.1452, allocations: 101.3 kB / 0.6207 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.1453, allocations: 22.55 kB / 0.6207 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1453, allocations: 12.91 kB / 0.6208 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1454, allocations: 0 / 0.6208 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1454, allocations: 38.56 kB / 0.6208 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1454, allocations: 0 / 0.6208 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002252/0.1456, allocations: 57.56 kB / 0.6209 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1457, allocations: 51.41 kB / 0.6209 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.1457, allocations: 89.86 kB / 0.621 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1457, allocations: 25.7 kB / 0.621 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1458, allocations: 80.14 kB / 0.6211 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1458, allocations: 0 / 0.6211 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1458, allocations: 13.84 kB / 0.6211 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.146, allocations: 314.8 kB / 0.6214 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.146, allocations: 11.92 kB / 0.6214 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.146, allocations: 4 kB / 0.6214 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.1461, allocations: 16.84 kB / 0.6214 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1461, allocations: 0 / 0.6214 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001262/0.1463, allocations: 41.69 kB / 0.6215 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1463, allocations: 8.094 kB / 0.6215 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1463, allocations: 0 / 0.6215 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1463, allocations: 3.984 kB / 0.6215 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.1464, allocations: 11.88 kB / 0.6215 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1464, allocations: 0 / 0.6215 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.1464, allocations: 3.938 kB / 0.6215 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1464, allocations: 7.938 kB / 0.6215 GB, free: 4.523 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 6.841e-05/0.1465, allocations: 106.9 kB / 0.6216 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.1465, allocations: 3.984 kB / 0.6216 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.1465, allocations: 11 kB / 0.6216 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1465, allocations: 3.938 kB / 0.6216 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1465, allocations: 4 kB / 0.6216 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1465, allocations: 3.984 kB / 0.6216 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.944e-05/0.1466, allocations: 97.33 kB / 0.6217 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1466, allocations: 0 / 0.6217 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.1466, allocations: 11.92 kB / 0.6217 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1466, allocations: 0 / 0.6217 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.1467, allocations: 0 / 0.6217 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1467, allocations: 0 / 0.6217 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1467, allocations: 3.938 kB / 0.6217 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.1468, allocations: 65.12 kB / 0.6218 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.1468, allocations: 4 kB / 0.6218 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1468, allocations: 7.984 kB / 0.6218 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.138e-05/0.1469, allocations: 0 / 0.6218 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.1469, allocations: 7.875 kB / 0.6218 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1469, allocations: 0 / 0.6218 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.1469, allocations: 75.28 kB / 0.6219 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 0 / 0.6219 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001785/0.1471, allocations: 4 kB / 0.6219 GB, free: 4.062 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 8.689e-05/0.1472, allocations: 95.28 kB / 0.622 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1473, allocations: 11.98 kB / 0.622 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1473, allocations: 0 / 0.622 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.1474, allocations: 7.984 kB / 0.622 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.1475, allocations: 0 / 0.622 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.1477, allocations: 92.98 kB / 0.6221 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.1478, allocations: 51.36 kB / 0.6221 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.1478, allocations: 7.938 kB / 0.6222 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1478, allocations: 12.48 kB / 0.6222 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1478, allocations: 0 / 0.6222 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.002036/0.1498, allocations: 239.3 kB / 0.6224 GB, free: 3.504 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.94658181804698] Failed to read output from testmodel.py, exit status != 0: 0.15775550599209964 0.17173648700000002 0.024571948000000003 Calling exit ...