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.0009849/0.0009849, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002169, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009754/0.0009754, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002316, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9665/0.9665, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09555/1.062, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8161/0.8161, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.3289/1.145, allocations: 49.12 MB / 448.4 MB, free: 6.012 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.704e-06/1.704e-06, allocations: 0 / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.436e-05, allocations: 2.312 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003293/0.003317, allocations: 1.869 MB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.005257, allocations: 1.248 MB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.005366, allocations: 9.906 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.005627, allocations: 57.05 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.005965, allocations: 126.7 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.006516, allocations: 194.2 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.006751, allocations: 161.5 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.006872, allocations: 22.16 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.007072, allocations: 117.8 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.007187, allocations: 47.88 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.007209, allocations: 11.94 kB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.007401, allocations: 87.8 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.00747, allocations: 31.92 kB / 453.7 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.007519, allocations: 26 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.007793, allocations: 155.4 kB / 453.8 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.91e-05/0.007812, allocations: 0 / 453.8 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.007814, allocations: 0 / 453.8 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.007833, allocations: 0 / 453.8 MB, free: 0.6094 MB / 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.0006279/0.008461, allocations: 435.2 kB / 454.3 MB, free: 160 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.008494, allocations: 8.688 kB / 454.3 MB, free: 152 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.008538, allocations: 14.89 kB / 454.3 MB, free: 140 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.008778, allocations: 162.9 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.008797, allocations: 8.375 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.00881, allocations: 8.297 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.008953, allocations: 79.56 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.00896, allocations: 0.625 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.008968, allocations: 0 / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.008989, allocations: 5.5 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.009032, allocations: 11.98 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.009372, allocations: 205.7 kB / 454.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.009515, allocations: 103.9 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.009547, allocations: 12.86 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.009561, allocations: 0 / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.009694, allocations: 79.12 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.009696, allocations: 0 / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001871/0.009883, allocations: 66.91 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.009919, allocations: 51.41 kB / 455.1 MB, free: 15.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.01013, allocations: 225.5 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.01016, allocations: 30.52 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.01021, allocations: 100.6 kB / 455.4 MB, free: 14.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.01024, allocations: 28.27 kB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.01029, allocations: 26.2 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01039, allocations: 330.8 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.01042, allocations: 11.73 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.01048, allocations: 56.2 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.01055, allocations: 48.41 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01055, allocations: 0.625 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.01067, allocations: 73.75 kB / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.01069, allocations: 11.98 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.0107, allocations: 0 / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.01071, allocations: 0.5 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.0108, allocations: 12 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.01081, allocations: 9.312 kB / 456 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.01086, allocations: 7.984 kB / 456 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.01086, allocations: 0 / 456 MB, free: 14.25 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 0.0001015/0.01096, allocations: 130.4 kB / 456.2 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.01099, allocations: 11.98 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.01113, allocations: 75.84 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.01114, allocations: 0.9062 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01114, allocations: 0 / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01115, allocations: 3.938 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.01127, allocations: 102.4 kB / 456.3 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01127, allocations: 2.422 kB / 456.3 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.01132, allocations: 19.92 kB / 456.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01135, allocations: 15.84 kB / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01135, allocations: 0 / 456.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.01135, allocations: 4.781 kB / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01136, allocations: 0 / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01136, allocations: 1.438 kB / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.01148, allocations: 98.67 kB / 456.5 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.0115, allocations: 11.94 kB / 456.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.01154, allocations: 0 / 456.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.01157, allocations: 12.77 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.01159, allocations: 11.98 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.01167, allocations: 69.72 kB / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01168, allocations: 0 / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.0119, allocations: 32.83 kB / 456.6 MB, free: 13.61 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.001843/0.01375, allocations: 0.5745 MB / 457.2 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01389, allocations: 40.78 kB / 457.2 MB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.0139, allocations: 1.625 kB / 457.2 MB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/0.01394, allocations: 28.83 kB / 457.3 MB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01415, allocations: 48.7 kB / 457.3 MB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.0148, allocations: 270.5 kB / 457.6 MB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.01486, allocations: 83.55 kB / 457.7 MB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.01492, allocations: 24.61 kB / 457.7 MB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.01503, allocations: 83.28 kB / 457.8 MB, free: 12.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.051e-06/0.01503, allocations: 5.875 kB / 457.8 MB, free: 12.78 MB / 442.7 MB Notification: Performance of Templates: time 0.004911/0.01994, allocations: 2.852 MB / 460.6 MB, free: 10.16 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.8522320920601487]