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.0008375/0.0008376, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0007929/0.0007929, allocations: 168.7 kB / 15.95 MB, free: 204 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.425/1.425, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1641/0.1641, allocations: 3.871 MB / 295 MB, free: 4 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003083, allocations: 8 kB / 356.6 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09162, allocations: 51.17 MB / 407.8 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001558/0.09321, allocations: 1.194 MB / 409 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.09484, allocations: 0.9744 MB / 410 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.09492, allocations: 3.938 kB / 410 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.09506, allocations: 11.92 kB / 410 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.09522, allocations: 11.88 kB / 410 MB, free: 14.16 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.0005358/0.09577, allocations: 151.6 kB / 410.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.09593, allocations: 99.77 kB / 410.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.09602, allocations: 12 kB / 410.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.09611, allocations: 39.8 kB / 410.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.09619, allocations: 35.83 kB / 410.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.09622, allocations: 4 kB / 410.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.09651, allocations: 159.8 kB / 410.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.09656, allocations: 15.92 kB / 410.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.09661, allocations: 37.64 kB / 410.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.09686, allocations: 139.7 kB / 410.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09687, allocations: 0 / 410.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09688, allocations: 0 / 410.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.09688, allocations: 0 / 410.7 MB, free: 13.48 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.0005353/0.09743, allocations: 421.3 kB / 411.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.09747, allocations: 12.03 kB / 411.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004018/0.09788, allocations: 51.83 kB / 411.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.09819, allocations: 214 kB / 411.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.09822, allocations: 4 kB / 411.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.09824, allocations: 0 / 411.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.09845, allocations: 85.64 kB / 411.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.09847, allocations: 0 / 411.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.0985, allocations: 7.984 kB / 411.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.09851, allocations: 7.891 kB / 411.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.09866, allocations: 51.97 kB / 411.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.09928, allocations: 364.6 kB / 411.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.09949, allocations: 82.58 kB / 412 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.09959, allocations: 44.83 kB / 412 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.09963, allocations: 3.984 kB / 412 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.09966, allocations: 34.52 kB / 412 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.09967, allocations: 0 / 412 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004255/0.1001, allocations: 153.7 kB / 412.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1002, allocations: 55.39 kB / 412.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1003, allocations: 142.9 kB / 412.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1003, allocations: 33.7 kB / 412.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.1004, allocations: 96.03 kB / 412.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1004, allocations: 23.66 kB / 412.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.1005, allocations: 3.938 kB / 412.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1006, allocations: 322.8 kB / 412.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.1007, allocations: 39.98 kB / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.1008, allocations: 35.97 kB / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.1009, allocations: 39.98 kB / 413 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1009, allocations: 0 / 413 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002417/0.1011, allocations: 129.5 kB / 413.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1012, allocations: 9.516 kB / 413.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1012, allocations: 7.922 kB / 413.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1012, allocations: 0 / 413.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1013, allocations: 27.92 kB / 413.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1013, allocations: 0 / 413.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.1014, allocations: 7.906 kB / 413.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.1015, allocations: 29.27 kB / 413.2 MB, free: 10.77 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.345e-05/0.1016, allocations: 117.8 kB / 413.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1016, allocations: 7.906 kB / 413.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.102, allocations: 214 kB / 413.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-05/0.1021, allocations: 3.984 kB / 413.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1021, allocations: 4 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1021, allocations: 0 / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1024, allocations: 225.4 kB / 413.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1024, allocations: 0 / 413.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.1025, allocations: 15.98 kB / 413.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1025, allocations: 0 / 413.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1025, allocations: 7.984 kB / 413.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1025, allocations: 7.953 kB / 413.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1025, allocations: 0 / 413.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1029, allocations: 259.3 kB / 414 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.1029, allocations: 104.8 kB / 414.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.103, allocations: 7.984 kB / 414.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.103, allocations: 4 kB / 414.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.1031, allocations: 19.92 kB / 414.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.1031, allocations: 23.95 kB / 414.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.1032, allocations: 113 kB / 414.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1032, allocations: 0 / 414.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1036, allocations: 55.98 kB / 414.3 MB, free: 9.504 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.0004374/0.104, allocations: 237.9 kB / 414.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1043, allocations: 115.8 kB / 414.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1043, allocations: 0 / 414.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1045, allocations: 119.4 kB / 414.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1047, allocations: 11.94 kB / 414.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1052, allocations: 269.3 kB / 415.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1055, allocations: 0.7043 MB / 415.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.593e-05/0.1056, allocations: 36.28 kB / 415.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.1057, allocations: 19.42 kB / 415.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1057, allocations: 0 / 415.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Templates: time 0.004931/0.1106, allocations: 2.201 MB / 418 MB, free: 5.781 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: