Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.0008668/0.0008668, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001004/0.001004, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02804/0.02804, allocations: 3.162 MB / 263.4 MB, free: 9.957 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 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(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 280.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.692e-05, allocations: 6.312 kB / 280.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.003083/0.00311, allocations: 1.599 MB / 282.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.005315, allocations: 1.18 MB / 283.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.005408, allocations: 7.938 kB / 283.5 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.005547, allocations: 31.61 kB / 283.5 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.005627, allocations: 35.73 kB / 283.5 MB, free: 5.809 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.006369, allocations: 247 kB / 283.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.006752, allocations: 271.3 kB / 284 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.006806, allocations: 14.45 kB / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.007081, allocations: 127.8 kB / 284.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.00719, allocations: 67.78 kB / 284.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.007226, allocations: 12 kB / 284.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.00763, allocations: 215.5 kB / 284.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.007681, allocations: 27.86 kB / 284.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.00776, allocations: 59.84 kB / 284.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.008187, allocations: 287.1 kB / 284.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.008189, allocations: 0 / 284.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00819, allocations: 0 / 284.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.008195, allocations: 0 / 284.8 MB, free: 4.504 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001755/0.009949, allocations: 1.505 MB / 286.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.009992, allocations: 8.031 kB / 286.3 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.01056, allocations: 128.6 kB / 286.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.01084, allocations: 190.1 kB / 286.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.01086, allocations: 4.375 kB / 286.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.01089, allocations: 16.38 kB / 286.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.0112, allocations: 227.8 kB / 286.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01121, allocations: 192 / 286.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.01123, allocations: 8.375 kB / 286.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01123, allocations: 3.938 kB / 286.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.01143, allocations: 173 kB / 287.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.0116, allocations: 103.5 kB / 287.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.0118, allocations: 192.7 kB / 287.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.01196, allocations: 165.1 kB / 287.5 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.01196, allocations: 0 / 287.5 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.01255, allocations: 481.5 kB / 288 MB, free: 1.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.01255, allocations: 0 / 288 MB, free: 1.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.000634/0.01318, allocations: 0.5598 MB / 288.6 MB, free: 496 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.01326, allocations: 152.4 kB / 288.7 MB, free: 312 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.01343, allocations: 206.4 kB / 288.9 MB, free: 92 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01345, allocations: 29.7 kB / 288.9 MB, free: 56 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1459/0.1594, allocations: 97.69 kB / 289 MB, free: 23.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.1594, allocations: 47.05 kB / 289.1 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.1595, allocations: 55.98 kB / 289.1 MB, free: 23.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.1596, allocations: 331.9 kB / 289.5 MB, free: 23.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1597, allocations: 130.4 kB / 289.6 MB, free: 23.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.1598, allocations: 129.5 kB / 289.7 MB, free: 23.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.16, allocations: 299.1 kB / 290 MB, free: 23.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.16, allocations: 0.5 kB / 290 MB, free: 23.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002462/0.1602, allocations: 332.4 kB / 290.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.1603, allocations: 87.09 kB / 290.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1603, allocations: 2.906 kB / 290.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1603, allocations: 3.562 kB / 290.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.1604, allocations: 22.47 kB / 290.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1604, allocations: 0 / 290.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.1605, allocations: 24.27 kB / 290.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.1605, allocations: 33.47 kB / 290.5 MB, free: 23.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (globalSeed.seed,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001389/0.1606, allocations: 227.3 kB / 290.7 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.1607, allocations: 36.84 kB / 290.8 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.1607, allocations: 21.19 kB / 290.8 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1607, allocations: 1.188 kB / 290.8 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1607, allocations: 1.625 kB / 290.8 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1607, allocations: 1.531 kB / 290.8 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1608, allocations: 124.8 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1608, allocations: 1.375 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.1609, allocations: 10.02 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1609, allocations: 1.984 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1609, allocations: 16.27 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1609, allocations: 2.188 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1609, allocations: 7.531 kB / 290.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.1613, allocations: 0.4994 MB / 291.4 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1614, allocations: 45.83 kB / 291.5 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.1614, allocations: 21.02 kB / 291.5 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.1615, allocations: 12.34 kB / 291.5 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.1615, allocations: 27.03 kB / 291.5 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.1616, allocations: 35 kB / 291.6 MB, free: 22.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.1616, allocations: 58.59 kB / 291.6 MB, free: 22.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1616, allocations: 0 / 291.6 MB, free: 22.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.1618, allocations: 79.45 kB / 291.7 MB, free: 22.56 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0004488/0.1623, allocations: 300 kB / 292 MB, free: 22.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1627, allocations: 0.5008 MB / 292.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1627, allocations: 2.281 kB / 292.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1629, allocations: 359.8 kB / 292.9 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.163, allocations: 50.81 kB / 292.9 MB, free: 22.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.1635, allocations: 0.4976 MB / 293.4 MB, free: 21.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.1635, allocations: 77.58 kB / 293.5 MB, free: 21.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.1636, allocations: 16.05 kB / 293.5 MB, free: 21.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.1637, allocations: 134 kB / 293.6 MB, free: 21.64 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1637, allocations: 0.7812 kB / 293.6 MB, free: 21.64 MB / 266.7 MB Notification: Performance of Templates: time 0.006318/0.1701, allocations: 4.602 MB / 298.2 MB, free: 20.92 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8743531848303974]