Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009192/0.0009192, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002354, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007534/0.0007534, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.00178, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9864/0.9864, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.078, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7711/0.7711, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2913/1.062, allocations: 49.14 MB / 448.6 MB, free: 5.887 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 450 MB, free: 4.57 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.276e-05, allocations: 2.312 kB / 450 MB, free: 4.566 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003131/0.003153, allocations: 1.888 MB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.005162, allocations: 1.249 MB / 453.1 MB, free: 1.465 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.005272, allocations: 4 kB / 453.1 MB, free: 1.461 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.005524, allocations: 66.17 kB / 453.2 MB, free: 1.398 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.005864, allocations: 124.6 kB / 453.3 MB, free: 1.285 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.006451, allocations: 198.6 kB / 453.5 MB, free: 1.094 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.0067, allocations: 160.6 kB / 453.6 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.006802, allocations: 20.09 kB / 453.7 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.007011, allocations: 119.7 kB / 453.8 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.007127, allocations: 55.81 kB / 453.8 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.007149, allocations: 8 kB / 453.8 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.007358, allocations: 88.69 kB / 453.9 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.007429, allocations: 35.86 kB / 454 MB, free: 0.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.007474, allocations: 19.94 kB / 454 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.007745, allocations: 164.6 kB / 454.1 MB, free: 456 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.007758, allocations: 0 / 454.1 MB, free: 456 kB / 426.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007759, allocations: 0 / 454.1 MB, free: 456 kB / 426.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.007769, allocations: 0.8438 kB / 454.1 MB, free: 456 kB / 426.7 MB 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.0006224/0.008391, allocations: 423.2 kB / 454.6 MB, free: 4 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.008451, allocations: 8.766 kB / 454.6 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.008508, allocations: 12.88 kB / 454.6 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.008745, allocations: 170.1 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.008767, allocations: 8.312 kB / 454.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.008782, allocations: 4.312 kB / 454.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.008936, allocations: 74.69 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.008946, allocations: 3.938 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.008956, allocations: 1.125 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.008977, allocations: 4 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.009017, allocations: 15.98 kB / 454.9 MB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.009382, allocations: 210.3 kB / 455.1 MB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.009517, allocations: 93.08 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.009547, allocations: 18.02 kB / 455.2 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.009565, allocations: 3.938 kB / 455.2 MB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.0097, allocations: 72.17 kB / 455.2 MB, free: 15.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 2.043e-06/0.009702, allocations: 0 / 455.2 MB, free: 15.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001801/0.009882, allocations: 77.88 kB / 455.3 MB, free: 15.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.009908, allocations: 51.41 kB / 455.4 MB, free: 15.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.01004, allocations: 221.6 kB / 455.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01006, allocations: 26.8 kB / 455.6 MB, free: 14.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.0101, allocations: 100.6 kB / 455.7 MB, free: 14.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.01013, allocations: 19.83 kB / 455.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.01016, allocations: 26.23 kB / 455.8 MB, free: 14.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.01024, allocations: 331.4 kB / 456.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.01026, allocations: 14.81 kB / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.01029, allocations: 53.47 kB / 456.1 MB, free: 14.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.01035, allocations: 55.39 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01035, allocations: 3.125 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.005e-05/0.01044, allocations: 72.38 kB / 456.3 MB, free: 14.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01045, allocations: 8 kB / 456.3 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01046, allocations: 0.7969 kB / 456.3 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01047, allocations: 0 / 456.3 MB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.01054, allocations: 15.98 kB / 456.3 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.01054, allocations: 0 / 456.3 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.01058, allocations: 12.52 kB / 456.3 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01059, allocations: 0 / 456.3 MB, free: 14.1 MB / 442.7 MB 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 7.184e-05/0.01066, allocations: 129.4 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.01068, allocations: 16.81 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.01079, allocations: 75.12 kB / 456.5 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.0108, allocations: 0.9062 kB / 456.5 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.0108, allocations: 1.219 kB / 456.5 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.0108, allocations: 0.625 kB / 456.5 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.0109, allocations: 109.8 kB / 456.6 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.0109, allocations: 4.562 kB / 456.6 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.01093, allocations: 8.625 kB / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01095, allocations: 23.77 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01095, allocations: 0.625 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.01096, allocations: 4 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01096, allocations: 0.625 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01096, allocations: 0.5312 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.602e-05/0.01105, allocations: 99.22 kB / 456.8 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.01107, allocations: 11.92 kB / 456.8 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.0111, allocations: 0.8125 kB / 456.8 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.01114, allocations: 11.98 kB / 456.8 MB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.01115, allocations: 5.781 kB / 456.8 MB, free: 13.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.822e-05/0.01122, allocations: 69.06 kB / 456.9 MB, free: 13.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01122, allocations: 0 / 456.9 MB, free: 13.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.0114, allocations: 35.94 kB / 456.9 MB, free: 13.45 MB / 442.7 MB 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.00136/0.01276, allocations: 0.5687 MB / 457.5 MB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.01287, allocations: 40.77 kB / 457.5 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.01288, allocations: 4 kB / 457.5 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.01292, allocations: 33.53 kB / 457.5 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.01314, allocations: 218.3 kB / 457.8 MB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.01366, allocations: 282.9 kB / 458 MB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.0137, allocations: 79.55 kB / 458.1 MB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.01376, allocations: 28.69 kB / 458.1 MB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.01384, allocations: 75.36 kB / 458.2 MB, free: 12.41 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01384, allocations: 5.219 kB / 458.2 MB, free: 12.41 MB / 442.7 MB Notification: Performance of Templates: time 0.004799/0.01864, allocations: 2.882 MB / 461.1 MB, free: 9.766 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.749944804236293]