Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04242/0.04242, allocations: 9.134 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009409/0.0009409, allocations: 99.08 kB / 35.33 MB, free: 1.078 MB / 24.77 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.001176/0.001176, allocations: 157.6 kB / 38.72 MB, free: 2.523 MB / 24.77 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.044/1.044, allocations: 177.1 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.00603/0.00603, allocations: 0.8225 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.631/1.631, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator") translateModel(AixLib.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.769e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegerReplicator): time 0.00373/0.003757, allocations: 1.835 MB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.00626, allocations: 1.246 MB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006369, allocations: 3.938 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.006702, allocations: 55.69 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.007126, allocations: 127.4 kB / 0.6411 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.007739, allocations: 195.3 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.007994, allocations: 163.5 kB / 0.6414 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.008106, allocations: 14.3 kB / 0.6414 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.008275, allocations: 87.73 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.008392, allocations: 59.8 kB / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.008414, allocations: 8 kB / 0.6416 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.008601, allocations: 79.86 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.008677, allocations: 39.86 kB / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.008732, allocations: 39.84 kB / 0.6417 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.009011, allocations: 167.4 kB / 0.6419 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.009014, allocations: 0 / 0.6419 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.41e-07/0.009015, allocations: 0 / 0.6419 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.00902, allocations: 0 / 0.6419 GB, free: 9.996 MB / 0.6043 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.0005688/0.009588, allocations: 397.5 kB / 0.6422 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.009628, allocations: 11.98 kB / 0.6423 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.009683, allocations: 16.92 kB / 0.6423 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.009923, allocations: 165.5 kB / 0.6424 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.009942, allocations: 4.375 kB / 0.6424 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.00996, allocations: 16.31 kB / 0.6425 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.01012, allocations: 69.69 kB / 0.6425 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01013, allocations: 3.938 kB / 0.6425 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.01014, allocations: 4 kB / 0.6425 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.01016, allocations: 4 kB / 0.6425 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.0102, allocations: 11.98 kB / 0.6425 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.01056, allocations: 197.8 kB / 0.6427 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.0107, allocations: 100.1 kB / 0.6428 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.01074, allocations: 20.84 kB / 0.6428 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.01075, allocations: 7.938 kB / 0.6429 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.01086, allocations: 66.19 kB / 0.6429 GB, free: 8.812 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.01087, allocations: 0 / 0.6429 GB, free: 8.812 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001795/0.01105, allocations: 73.7 kB / 0.643 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.01108, allocations: 55.41 kB / 0.643 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01127, allocations: 220.1 kB / 0.6432 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01129, allocations: 29.7 kB / 0.6433 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.01134, allocations: 96.61 kB / 0.6434 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.01138, allocations: 27.81 kB / 0.6434 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.01142, allocations: 21.7 kB / 0.6434 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.01152, allocations: 334.8 kB / 0.6437 GB, free: 7.914 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.01155, allocations: 10.83 kB / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.01161, allocations: 64.14 kB / 0.6438 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.01168, allocations: 39.34 kB / 0.6438 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01168, allocations: 0 / 0.6438 GB, free: 7.777 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001316/0.01181, allocations: 80.36 kB / 0.6439 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01183, allocations: 4 kB / 0.6439 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01183, allocations: 4.062 kB / 0.6439 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01185, allocations: 0 / 0.6439 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.01194, allocations: 16 kB / 0.6439 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01195, allocations: 0 / 0.6439 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.012, allocations: 11.94 kB / 0.644 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.01201, allocations: 0 / 0.644 GB, free: 7.656 MB / 0.6043 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.0001015/0.01211, allocations: 128.6 kB / 0.6441 GB, free: 7.52 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.01214, allocations: 15.86 kB / 0.6441 GB, free: 7.504 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.01229, allocations: 75.14 kB / 0.6442 GB, free: 7.43 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.0123, allocations: 7.984 kB / 0.6442 GB, free: 7.422 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.0123, allocations: 0 / 0.6442 GB, free: 7.422 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01231, allocations: 0 / 0.6442 GB, free: 7.422 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01245, allocations: 105.8 kB / 0.6443 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01245, allocations: 0 / 0.6443 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.0125, allocations: 4 kB / 0.6443 GB, free: 7.297 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.0125, allocations: 7.984 kB / 0.6443 GB, free: 7.289 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01251, allocations: 7.875 kB / 0.6443 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01251, allocations: 0 / 0.6443 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01251, allocations: 0 / 0.6443 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01265, allocations: 98.75 kB / 0.6444 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.01268, allocations: 19.89 kB / 0.6444 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.0127, allocations: 3.938 kB / 0.6444 GB, free: 7.141 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.01275, allocations: 8 kB / 0.6444 GB, free: 7.133 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.01279, allocations: 7.984 kB / 0.6444 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.0128, allocations: 0 / 0.6444 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001037/0.01291, allocations: 77 kB / 0.6445 GB, free: 7.047 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01291, allocations: 3.938 kB / 0.6445 GB, free: 7.043 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002482/0.01316, allocations: 39.88 kB / 0.6445 GB, free: 7.004 MB / 0.6043 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.001641/0.0148, allocations: 0.5246 MB / 0.6451 GB, free: 6.465 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.01493, allocations: 40.77 kB / 0.6451 GB, free: 6.422 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.01494, allocations: 12 kB / 0.6451 GB, free: 6.41 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/0.01499, allocations: 24.83 kB / 0.6451 GB, free: 6.383 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.01519, allocations: 44.58 kB / 0.6452 GB, free: 6.336 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.01567, allocations: 273.5 kB / 0.6454 GB, free: 6.039 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.01573, allocations: 75.77 kB / 0.6455 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.84e-05/0.0158, allocations: 21.86 kB / 0.6455 GB, free: 5.918 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01592, allocations: 79.36 kB / 0.6456 GB, free: 5.84 MB / 0.6043 GB Notification: Performance of SimCode: time 6.11e-07/0.01592, allocations: 0 / 0.6456 GB, free: 5.84 MB / 0.6043 GB Notification: Performance of Templates: time 0.007187/0.0231, allocations: 2.846 MB / 0.6484 GB, free: 2.996 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.sim & ./AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.491978544741869]