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.0009685/0.0009685, allocations: 80.75 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.0009881/0.0009881, allocations: 181 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 0.9965/0.9965, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.02236/0.02236, allocations: 3.157 MB / 263.4 MB, free: 9.922 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.543e-06/1.543e-06, allocations: 3.938 kB / 280.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.475e-05, allocations: 10.25 kB / 280.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002167/0.002191, allocations: 1.54 MB / 282.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.003746, allocations: 1.187 MB / 283.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.003824, allocations: 3.938 kB / 283.4 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.003974, allocations: 35.67 kB / 283.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.004039, allocations: 23.8 kB / 283.4 MB, free: 5.875 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.0006203/0.004659, allocations: 259 kB / 283.7 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.00491, allocations: 279.3 kB / 284 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.004951, allocations: 6.469 kB / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.005168, allocations: 135.7 kB / 284.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.005246, allocations: 67.78 kB / 284.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.00527, allocations: 16 kB / 284.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.005538, allocations: 199.6 kB / 284.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.005584, allocations: 31.84 kB / 284.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.005643, allocations: 47.84 kB / 284.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.005968, allocations: 287.1 kB / 284.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005972, allocations: 4 kB / 284.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005973, allocations: 0 / 284.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.005976, allocations: 0 / 284.7 MB, free: 4.566 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.001159/0.007135, allocations: 1.508 MB / 286.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.007166, allocations: 12.03 kB / 286.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.007539, allocations: 112.7 kB / 286.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007734, allocations: 194.1 kB / 286.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.007754, allocations: 8.375 kB / 286.6 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.007772, allocations: 16.31 kB / 286.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.007995, allocations: 223.2 kB / 286.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.008001, allocations: 8.188 kB / 286.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.008013, allocations: 4.375 kB / 286.8 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.008017, allocations: 3.938 kB / 286.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.008148, allocations: 184.9 kB / 287 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.008258, allocations: 99.44 kB / 287.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.008398, allocations: 184.5 kB / 287.3 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.008499, allocations: 165.5 kB / 287.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.008507, allocations: 3.938 kB / 287.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.008779, allocations: 481.3 kB / 287.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 5.089e-06/0.008784, allocations: 0 / 287.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004403/0.009225, allocations: 0.5637 MB / 288.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.009288, allocations: 148.4 kB / 288.6 MB, free: 372 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.009425, allocations: 206.4 kB / 288.8 MB, free: 152 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.00944, allocations: 29.7 kB / 288.9 MB, free: 116 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.009478, allocations: 104.6 kB / 289 MB, free: 8 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1228/0.1322, allocations: 36.14 kB / 289 MB, free: 23.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1323, allocations: 54.33 kB / 289 MB, free: 23.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.1324, allocations: 332 kB / 289.4 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1325, allocations: 131.2 kB / 289.5 MB, free: 23.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1326, allocations: 129 kB / 289.6 MB, free: 23.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.1329, allocations: 301.6 kB / 289.9 MB, free: 23.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1329, allocations: 1.375 kB / 289.9 MB, free: 23.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002686/0.1332, allocations: 333.2 kB / 290.2 MB, free: 23.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.1332, allocations: 86.83 kB / 290.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1332, allocations: 2.156 kB / 290.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1333, allocations: 5.219 kB / 290.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1334, allocations: 17.94 kB / 290.4 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1334, allocations: 1.031 kB / 290.4 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.1334, allocations: 23.53 kB / 290.4 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.1335, allocations: 33.22 kB / 290.4 MB, free: 23.11 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.0001493/0.1336, allocations: 227 kB / 290.6 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.1337, allocations: 42.61 kB / 290.7 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.1337, allocations: 15.62 kB / 290.7 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1337, allocations: 2.875 kB / 290.7 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1337, allocations: 0.625 kB / 290.7 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1337, allocations: 3.75 kB / 290.7 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1339, allocations: 125.4 kB / 290.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1339, allocations: 1.719 kB / 290.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.1339, allocations: 9.109 kB / 290.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1339, allocations: 0.8438 kB / 290.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1339, allocations: 13.23 kB / 290.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1339, allocations: 5.75 kB / 290.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1339, allocations: 1.25 kB / 290.9 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.1343, allocations: 0.5018 MB / 291.4 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.1344, allocations: 47.86 kB / 291.4 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1344, allocations: 20.94 kB / 291.4 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.1345, allocations: 13.66 kB / 291.4 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.1346, allocations: 20.95 kB / 291.5 MB, free: 22.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.1346, allocations: 34.55 kB / 291.5 MB, free: 22.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.1347, allocations: 65.27 kB / 291.6 MB, free: 22.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1347, allocations: 2.469 kB / 291.6 MB, free: 22.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.1349, allocations: 77.08 kB / 291.6 MB, free: 22.62 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.0005464/0.1355, allocations: 299.7 kB / 291.9 MB, free: 22.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.136, allocations: 0.5009 MB / 292.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.136, allocations: 1.094 kB / 292.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.1362, allocations: 356.4 kB / 292.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1364, allocations: 47.8 kB / 292.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.1369, allocations: 0.5003 MB / 293.3 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.137, allocations: 79.72 kB / 293.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.137, allocations: 14.47 kB / 293.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.1372, allocations: 135 kB / 293.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1372, allocations: 0 / 293.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of Templates: time 0.00701/0.1442, allocations: 4.6 MB / 298.1 MB, free: 20.98 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.876767073292285]