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.001001/0.001001, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001053/0.001053, allocations: 198.9 kB / 16.26 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1373/0.1373, allocations: 3.89 MB / 294 MB, free: 3.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 355 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1031, allocations: 50.19 MB / 405.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002576/0.1057, allocations: 1.556 MB / 406.7 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1075, allocations: 1.044 MB / 407.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.1076, allocations: 0 / 407.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1078, allocations: 15.88 kB / 407.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1079, allocations: 19.91 kB / 407.8 MB, free: 15.07 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.0005359/0.1085, allocations: 159.7 kB / 407.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1087, allocations: 123.7 kB / 408.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.1088, allocations: 7.984 kB / 408.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.1089, allocations: 39.8 kB / 408.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.1089, allocations: 51.77 kB / 408.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.109, allocations: 4 kB / 408.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.1092, allocations: 171.8 kB / 408.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.1093, allocations: 27.86 kB / 408.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.1093, allocations: 35.78 kB / 408.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1096, allocations: 207.5 kB / 408.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1096, allocations: 0 / 408.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1096, allocations: 0 / 408.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1096, allocations: 0 / 408.6 MB, free: 14.26 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.0005637/0.1102, allocations: 423.2 kB / 409 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1103, allocations: 12.03 kB / 409 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.1107, allocations: 52.77 kB / 409.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1109, allocations: 216.5 kB / 409.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1109, allocations: 8.375 kB / 409.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.111, allocations: 4.125 kB / 409.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1112, allocations: 77.64 kB / 409.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1112, allocations: 0 / 409.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1112, allocations: 7.938 kB / 409.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1112, allocations: 0 / 409.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1113, allocations: 63.95 kB / 409.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.1119, allocations: 360.7 kB / 409.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1121, allocations: 82.56 kB / 409.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.1122, allocations: 44.83 kB / 409.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1122, allocations: 0 / 409.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1122, allocations: 34.56 kB / 409.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1122, allocations: 3.938 kB / 410 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003797/0.1126, allocations: 145.5 kB / 410.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1127, allocations: 55.41 kB / 410.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1128, allocations: 152.6 kB / 410.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1128, allocations: 25.7 kB / 410.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.1129, allocations: 104.1 kB / 410.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1129, allocations: 27.53 kB / 410.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.113, allocations: 37.59 kB / 410.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.1131, allocations: 318.8 kB / 410.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.1131, allocations: 39.97 kB / 410.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.1132, allocations: 31.98 kB / 410.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1134, allocations: 84.97 kB / 411 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1134, allocations: 0 / 411 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.1136, allocations: 141.4 kB / 411.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1137, allocations: 4 kB / 411.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1137, allocations: 0 / 411.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1137, allocations: 4 kB / 411.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1138, allocations: 23.92 kB / 411.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1138, allocations: 0 / 411.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1139, allocations: 3.938 kB / 411.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.1139, allocations: 31.95 kB / 411.2 MB, free: 11.46 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 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/0.1141, allocations: 125.8 kB / 411.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.1141, allocations: 7.906 kB / 411.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.1145, allocations: 217.3 kB / 411.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/0.1146, allocations: 8 kB / 411.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1146, allocations: 0 / 411.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1146, allocations: 3.938 kB / 411.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1149, allocations: 221.6 kB / 411.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.1149, allocations: 8 kB / 411.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.115, allocations: 11.94 kB / 411.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.115, allocations: 0 / 411.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.115, allocations: 7.984 kB / 411.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.115, allocations: 0 / 411.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.115, allocations: 0 / 411.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.1153, allocations: 275.1 kB / 412 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1154, allocations: 104.9 kB / 412.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1154, allocations: 4 kB / 412.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.1155, allocations: 0 / 412.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1156, allocations: 15.92 kB / 412.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.1156, allocations: 25.64 kB / 412.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.1157, allocations: 122.2 kB / 412.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1157, allocations: 0 / 412.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.116, allocations: 48 kB / 412.3 MB, free: 10.19 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 (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.0004392/0.1165, allocations: 249 kB / 412.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1167, allocations: 115.9 kB / 412.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1168, allocations: 0 / 412.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1169, allocations: 119.3 kB / 412.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1172, allocations: 15.98 kB / 412.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.1176, allocations: 278.1 kB / 413.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1179, allocations: 0.7156 MB / 413.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.523e-05/0.118, allocations: 28.34 kB / 413.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.118, allocations: 19.42 kB / 413.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.118, allocations: 0 / 413.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Templates: time 0.004723/0.1228, allocations: 2.292 MB / 416.2 MB, free: 6.352 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (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)