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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02759/0.02759, allocations: 3.944 MB / 309 MB, free: 5.422 MB / 238.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 59.89 kB / 429.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 52.91 MB / 482.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002828/0.105, allocations: 1.484 MB / 484.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1072, allocations: 1.067 MB / 485.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.1072, allocations: 4 kB / 485.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1074, allocations: 7.875 kB / 485.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1076, allocations: 27.8 kB / 485.3 MB, free: 12.54 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.1082, allocations: 187.3 kB / 485.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1084, allocations: 119.7 kB / 485.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.1085, allocations: 11.98 kB / 485.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1086, allocations: 51.78 kB / 485.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.1087, allocations: 43.77 kB / 485.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1087, allocations: 4 kB / 485.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.1091, allocations: 171.8 kB / 485.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1091, allocations: 23.92 kB / 485.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.1092, allocations: 43.78 kB / 485.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1095, allocations: 215.2 kB / 486.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1095, allocations: 0 / 486.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1095, allocations: 0 / 486.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1095, allocations: 0 / 486.1 MB, free: 11.68 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.0006649/0.1102, allocations: 434.5 kB / 486.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1102, allocations: 12.03 kB / 486.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/0.1107, allocations: 44.83 kB / 486.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.111, allocations: 218.7 kB / 486.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.111, allocations: 4.375 kB / 486.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.111, allocations: 8.125 kB / 486.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1112, allocations: 81.64 kB / 486.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1112, allocations: 7.938 kB / 486.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1113, allocations: 4 kB / 486.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.1113, allocations: 0 / 486.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1114, allocations: 59.89 kB / 487 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.112, allocations: 356.7 kB / 487.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1122, allocations: 74.53 kB / 487.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.1123, allocations: 36.78 kB / 487.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.1123, allocations: 7.938 kB / 487.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1124, allocations: 38.59 kB / 487.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1124, allocations: 4 kB / 487.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004264/0.1128, allocations: 149.5 kB / 487.6 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1128, allocations: 51.41 kB / 487.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.113, allocations: 157.4 kB / 487.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.113, allocations: 25.7 kB / 487.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.1131, allocations: 96.23 kB / 488 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1131, allocations: 31.78 kB / 488 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.1132, allocations: 33.7 kB / 488 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1133, allocations: 322.8 kB / 488.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.1134, allocations: 27.98 kB / 488.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.1135, allocations: 43.91 kB / 488.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1137, allocations: 84.77 kB / 488.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1137, allocations: 0 / 488.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002738/0.114, allocations: 137.5 kB / 488.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.114, allocations: 4 kB / 488.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.114, allocations: 0 / 488.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.114, allocations: 0 / 488.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1141, allocations: 23.97 kB / 488.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1141, allocations: 3.938 kB / 488.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.1142, allocations: 15.83 kB / 488.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.1142, allocations: 23.95 kB / 488.7 MB, free: 8.883 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 0.0001134/0.1144, allocations: 130.3 kB / 488.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1144, allocations: 7.953 kB / 488.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.1144, allocations: 16.64 kB / 488.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1145, allocations: 4 kB / 488.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1145, allocations: 0 / 488.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1145, allocations: 7.922 kB / 488.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1147, allocations: 193.6 kB / 489 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.1147, allocations: 4 kB / 489.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.1148, allocations: 11.98 kB / 489.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1148, allocations: 0 / 489.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.1148, allocations: 23.86 kB / 489.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1148, allocations: 0 / 489.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1148, allocations: 0 / 489.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1151, allocations: 219.3 kB / 489.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.1152, allocations: 101 kB / 489.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1152, allocations: 7.984 kB / 489.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.1153, allocations: 0 / 489.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1154, allocations: 19.92 kB / 489.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.1154, allocations: 27.95 kB / 489.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.1155, allocations: 103.3 kB / 489.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1155, allocations: 0 / 489.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1159, allocations: 55.86 kB / 489.6 MB, free: 7.871 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: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005629/0.1164, allocations: 235 kB / 489.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1167, allocations: 83.94 kB / 489.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1167, allocations: 4 kB / 489.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.1168, allocations: 35.92 kB / 490 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.117, allocations: 15.92 kB / 490 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.1175, allocations: 235.5 kB / 490.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1178, allocations: 0.704 MB / 490.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.1179, allocations: 23.42 kB / 490.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1179, allocations: 0 / 490.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Templates: time 0.00494/0.1228, allocations: 2.442 MB / 493.4 MB, free: 4.086 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile [Timeout 660] (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) [Timeout 480]