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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1806/0.1806, allocations: 3.887 MB / 294 MB, free: 3.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 355 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 50.18 MB / 405.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.003267/0.1094, allocations: 1.603 MB / 406.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1114, allocations: 1.153 MB / 407.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1115, allocations: 7.938 kB / 407.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1117, allocations: 23.8 kB / 407.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1118, allocations: 15.86 kB / 408 MB, free: 14.92 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0008999/0.1127, allocations: 207.5 kB / 408.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.1131, allocations: 267.5 kB / 408.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.1131, allocations: 17.53 kB / 408.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.1133, allocations: 99.67 kB / 408.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1134, allocations: 75.61 kB / 408.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.1135, allocations: 19.94 kB / 408.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.1138, allocations: 171.8 kB / 408.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.1138, allocations: 31.84 kB / 408.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1139, allocations: 83.59 kB / 408.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.1143, allocations: 279.2 kB / 409.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1143, allocations: 4 kB / 409.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1143, allocations: 0 / 409.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1143, allocations: 0 / 409.2 MB, free: 13.69 MB / 350.1 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.002073/0.1164, allocations: 2.228 MB / 411.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1165, allocations: 15.97 kB / 411.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.1171, allocations: 104.5 kB / 411.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1174, allocations: 263.7 kB / 411.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1174, allocations: 4.375 kB / 411.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1175, allocations: 12.38 kB / 411.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1179, allocations: 259.6 kB / 412.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1179, allocations: 0 / 412.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1179, allocations: 8 kB / 412.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1179, allocations: 0 / 412.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.1183, allocations: 223.8 kB / 412.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.1185, allocations: 246.3 kB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.1189, allocations: 329.5 kB / 412.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.1192, allocations: 297.6 kB / 413.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1192, allocations: 4 kB / 413.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.1198, allocations: 0.5186 MB / 413.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.575e-06/0.1198, allocations: 0 / 413.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001078/0.1208, allocations: 0.7621 MB / 414.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.1209, allocations: 160.5 kB / 414.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1212, allocations: 215 kB / 414.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1212, allocations: 29.7 kB / 414.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.1213, allocations: 112.7 kB / 414.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1213, allocations: 47.38 kB / 415 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.1214, allocations: 57.69 kB / 415 MB, free: 7.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1215, allocations: 330.8 kB / 415.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1218, allocations: 144.1 kB / 415.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.122, allocations: 136.4 kB / 415.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.1225, allocations: 460.4 kB / 416.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1225, allocations: 8 kB / 416.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005804/0.1231, allocations: 463.2 kB / 416.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.1232, allocations: 99.3 kB / 416.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1232, allocations: 0 / 416.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1232, allocations: 0 / 416.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1233, allocations: 15.98 kB / 416.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1233, allocations: 4 kB / 416.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1234, allocations: 15.89 kB / 416.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.1235, allocations: 44.12 kB / 416.7 MB, free: 5.766 MB / 350.1 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,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,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.0002157/0.1237, allocations: 255.7 kB / 417 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.1238, allocations: 31.75 kB / 417 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.1238, allocations: 13.41 kB / 417 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1238, allocations: 0 / 417 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1238, allocations: 0 / 417 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1238, allocations: 3.984 kB / 417 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1241, allocations: 277.2 kB / 417.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1241, allocations: 7.984 kB / 417.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.1242, allocations: 11.94 kB / 417.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1242, allocations: 4 kB / 417.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.1242, allocations: 15.98 kB / 417.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1242, allocations: 0 / 417.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1242, allocations: 4 kB / 417.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.1251, allocations: 0.6936 MB / 418 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1252, allocations: 132.9 kB / 418.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.1253, allocations: 31.91 kB / 418.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1254, allocations: 15.98 kB / 418.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.1255, allocations: 23.97 kB / 418.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.1255, allocations: 35.89 kB / 418.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1257, allocations: 147.2 kB / 418.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1257, allocations: 0 / 418.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.126, allocations: 80 kB / 418.5 MB, free: 3.871 MB / 350.1 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.000618/0.1266, allocations: 267.6 kB / 418.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009433/0.1276, allocations: 0.7601 MB / 419.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1276, allocations: 0 / 419.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.1282, allocations: 0.6511 MB / 420.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1285, allocations: 24 kB / 420.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/0.1293, allocations: 0.5516 MB / 420.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1296, allocations: 0.7349 MB / 421.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.1297, allocations: 16.55 kB / 421.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1297, allocations: 15.44 kB / 421.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1297, allocations: 3.938 kB / 421.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Templates: time 0.188/0.3177, allocations: 3.847 MB / 425.3 MB, free: 49.67 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile (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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1)