Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.001562/0.001562, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001611/0.001611, allocations: 156 kB / 23.01 MB, free: 4.605 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.385/1.385, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] 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.7895/0.7895, allocations: 101.3 MB / 361.1 MB, free: 9.531 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.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [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.002096/0.002096, allocations: 61.72 kB / 0.5356 GB, free: 5.238 MB / 446.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.1385/0.1406, allocations: 85.88 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003304/0.1439, allocations: 1.773 MB / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1461, allocations: 1.186 MB / 0.6224 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.1462, allocations: 4 kB / 0.6224 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1464, allocations: 59.67 kB / 0.6224 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1468, allocations: 131.4 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.1473, allocations: 195.2 kB / 0.6227 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1476, allocations: 163.5 kB / 0.6229 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.1477, allocations: 13.64 kB / 0.6229 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1478, allocations: 71.75 kB / 0.623 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1479, allocations: 71.67 kB / 0.6231 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1479, allocations: 8 kB / 0.6231 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.1481, allocations: 75.88 kB / 0.6231 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.1482, allocations: 35.91 kB / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.1483, allocations: 47.67 kB / 0.6232 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1486, allocations: 211.1 kB / 0.6234 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1486, allocations: 7.938 kB / 0.6234 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1486, allocations: 4 kB / 0.6234 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.1486, allocations: 0 / 0.6234 GB, free: 13.51 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006754/0.1493, allocations: 429.4 kB / 0.6238 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1493, allocations: 12.02 kB / 0.6238 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.1494, allocations: 24.8 kB / 0.6239 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1497, allocations: 190.2 kB / 0.6241 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1497, allocations: 8.375 kB / 0.6241 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1497, allocations: 12.05 kB / 0.6241 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.15, allocations: 117.1 kB / 0.6242 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.15, allocations: 4 kB / 0.6242 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.15, allocations: 4 kB / 0.6242 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.15, allocations: 0 / 0.6242 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1501, allocations: 39.95 kB / 0.6242 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1506, allocations: 288.4 kB / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1509, allocations: 86.66 kB / 0.6246 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.151, allocations: 28.94 kB / 0.6246 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.151, allocations: 7.938 kB / 0.6246 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.1511, allocations: 83.38 kB / 0.6247 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1511, allocations: 0 / 0.6247 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.1515, allocations: 149.5 kB / 0.6248 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1516, allocations: 81.11 kB / 0.6249 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1519, allocations: 272.3 kB / 0.6252 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1519, allocations: 37.64 kB / 0.6252 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.152, allocations: 116.1 kB / 0.6253 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.152, allocations: 19.8 kB / 0.6253 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.1521, allocations: 29.7 kB / 0.6254 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1522, allocations: 330.8 kB / 0.6257 GB, free: 11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.1523, allocations: 31.98 kB / 0.6257 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1525, allocations: 122.7 kB / 0.6258 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1526, allocations: 77.67 kB / 0.6259 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1526, allocations: 3.938 kB / 0.6259 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000235/0.1529, allocations: 109.6 kB / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1529, allocations: 4 kB / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1529, allocations: 0 / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1529, allocations: 4 kB / 0.626 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.153, allocations: 15.92 kB / 0.626 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.153, allocations: 4.062 kB / 0.626 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.1531, allocations: 7.953 kB / 0.6261 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1531, allocations: 8 kB / 0.6261 GB, free: 10.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001384/0.1532, allocations: 141.8 kB / 0.6262 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1533, allocations: 15.89 kB / 0.6262 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.1536, allocations: 131.1 kB / 0.6263 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1536, allocations: 3.984 kB / 0.6263 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1536, allocations: 0 / 0.6263 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1536, allocations: 0 / 0.6263 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1538, allocations: 177.1 kB / 0.6265 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1538, allocations: 4 kB / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.1538, allocations: 8 kB / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1538, allocations: 0 / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1538, allocations: 0 / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1538, allocations: 0 / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1538, allocations: 0 / 0.6265 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.1541, allocations: 156.8 kB / 0.6267 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.1542, allocations: 23.89 kB / 0.6267 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1542, allocations: 0 / 0.6267 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.1542, allocations: 8 kB / 0.6267 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1543, allocations: 11.98 kB / 0.6267 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1543, allocations: 7.984 kB / 0.6267 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002178/0.1545, allocations: 200.8 kB / 0.6269 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1545, allocations: 4 kB / 0.6269 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002611/0.1548, allocations: 39.86 kB / 0.627 GB, free: 9.605 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001644/0.1564, allocations: 450.3 kB / 0.6274 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1567, allocations: 71.84 kB / 0.6274 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1567, allocations: 4.062 kB / 0.6275 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1568, allocations: 48.06 kB / 0.6275 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1571, allocations: 50.86 kB / 0.6275 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1576, allocations: 314.6 kB / 0.6278 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.1577, allocations: 106.8 kB / 0.6279 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.1578, allocations: 29.47 kB / 0.628 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.1578, allocations: 16.5 kB / 0.628 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1578, allocations: 0 / 0.628 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of Templates: time 0.00643/0.1643, allocations: 2.657 MB / 0.6306 GB, free: 6.066 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.09466215595603] Failed to read output from testmodel.py, exit status != 0: 0.17182222404517233 0.186920741 0.035249371 Calling exit ...