Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001139/0.001139, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1612/0.1612, allocations: 3.872 MB / 294.9 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 8 kB / 356.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 51.16 MB / 407.7 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001632/0.1259, allocations: 1.198 MB / 408.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1275, allocations: 0.9744 MB / 409.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.1276, allocations: 0 / 409.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.1277, allocations: 15.86 kB / 409.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1279, allocations: 15.92 kB / 409.9 MB, free: 14.21 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.0004736/0.1284, allocations: 147.6 kB / 410 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1285, allocations: 75.83 kB / 410.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.1286, allocations: 11.98 kB / 410.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.1287, allocations: 39.78 kB / 410.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.1288, allocations: 35.83 kB / 410.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1288, allocations: 4 kB / 410.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.129, allocations: 127.8 kB / 410.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.1291, allocations: 19.97 kB / 410.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1291, allocations: 37.64 kB / 410.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1294, allocations: 143.7 kB / 410.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.1294, allocations: 4 kB / 410.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1294, allocations: 4 kB / 410.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1294, allocations: 0 / 410.5 MB, free: 13.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005003/0.1299, allocations: 407.2 kB / 410.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.13, allocations: 8.031 kB / 410.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.1303, allocations: 23.89 kB / 411 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1305, allocations: 209.9 kB / 411.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1305, allocations: 8 kB / 411.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1306, allocations: 8 kB / 411.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1307, allocations: 73.64 kB / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1308, allocations: 0 / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1308, allocations: 3.953 kB / 411.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1308, allocations: 4 kB / 411.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1309, allocations: 59.89 kB / 411.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1314, allocations: 340.7 kB / 411.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1316, allocations: 78.62 kB / 411.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1316, allocations: 7.938 kB / 411.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1317, allocations: 34.52 kB / 411.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1317, allocations: 0 / 411.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003626/0.132, allocations: 133.5 kB / 411.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1321, allocations: 55.41 kB / 412 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1322, allocations: 147 kB / 412.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.1323, allocations: 29.7 kB / 412.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1324, allocations: 96.05 kB / 412.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1324, allocations: 27.8 kB / 412.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/0.1324, allocations: 4 kB / 412.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1325, allocations: 318.8 kB / 412.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.1326, allocations: 31.98 kB / 412.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1327, allocations: 35.86 kB / 412.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.1328, allocations: 39.98 kB / 412.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1328, allocations: 0 / 412.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002107/0.133, allocations: 125.6 kB / 412.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.133, allocations: 7.953 kB / 412.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.133, allocations: 0 / 412.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1331, allocations: 0 / 412.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1332, allocations: 27.91 kB / 412.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1332, allocations: 0 / 412.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.1333, allocations: 11.84 kB / 412.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1333, allocations: 3.938 kB / 412.8 MB, free: 11.04 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: 4 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.315e-05/0.1334, allocations: 128.8 kB / 413 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1334, allocations: 15.89 kB / 413 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.1338, allocations: 202.1 kB / 413.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.1338, allocations: 7.984 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1338, allocations: 0 / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1339, allocations: 0 / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1341, allocations: 217.5 kB / 413.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1341, allocations: 0 / 413.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.1342, allocations: 19.92 kB / 413.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1342, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1343, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1343, allocations: 3.953 kB / 413.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1343, allocations: 0 / 413.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1346, allocations: 251.4 kB / 413.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.1347, allocations: 108.8 kB / 413.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1347, allocations: 4 kB / 413.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.1348, allocations: 8 kB / 413.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.1348, allocations: 11.94 kB / 413.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1348, allocations: 4 kB / 413.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.1349, allocations: 120.9 kB / 413.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1349, allocations: 0 / 413.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1353, allocations: 51.98 kB / 414 MB, free: 9.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004793/0.1358, allocations: 235.8 kB / 414.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.136, allocations: 95.94 kB / 414.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.136, allocations: 4 kB / 414.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1361, allocations: 119.3 kB / 414.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.1363, allocations: 4 kB / 414.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.1367, allocations: 269.2 kB / 414.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.137, allocations: 0.7082 MB / 415.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.817e-05/0.1371, allocations: 24.36 kB / 415.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.1371, allocations: 23.42 kB / 415.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1371, allocations: 0 / 415.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Templates: time 0.00498/0.1421, allocations: 2.228 MB / 417.7 MB, free: 6.086 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile Environment - environmentSimulation: (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) Environment - environmentSimulation: