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 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02798/0.02798, allocations: 3.944 MB / 310.2 MB, free: 4.852 MB / 238.1 MB
"
[Timeout remaining time 180]
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=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise")
translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 431.8 MB, free: 19.41 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09542, allocations: 52.95 MB / 484.7 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002838/0.09826, allocations: 1.498 MB / 486.2 MB, free: 12.85 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001995/0.1003, allocations: 1.071 MB / 487.3 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.1003, allocations: 3.938 kB / 487.3 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1005, allocations: 19.8 kB / 487.3 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1006, allocations: 27.86 kB / 487.3 MB, free: 11.72 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.0006365/0.1013, allocations: 191.3 kB / 487.5 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1015, allocations: 119.7 kB / 487.6 MB, free: 11.42 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.1016, allocations: 8 kB / 487.6 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1017, allocations: 51.83 kB / 487.7 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1018, allocations: 43.77 kB / 487.7 MB, free: 11.32 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1018, allocations: 8 kB / 487.7 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.1022, allocations: 207.6 kB / 487.9 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.1023, allocations: 23.92 kB / 488 MB, free: 11.08 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.1023, allocations: 35.73 kB / 488 MB, free: 11.05 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1027, allocations: 215.3 kB / 488.2 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1027, allocations: 0 / 488.2 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.122e-06/0.1027, allocations: 0 / 488.2 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.771e-06/0.1027, allocations: 0 / 488.2 MB, free: 10.84 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.0006185/0.1033, allocations: 357.4 kB / 488.6 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1034, allocations: 8.031 kB / 488.6 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.1038, allocations: 54.52 kB / 488.6 MB, free: 10.4 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1041, allocations: 158.9 kB / 488.8 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1041, allocations: 384 / 488.8 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1041, allocations: 8.125 kB / 488.8 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1043, allocations: 85.56 kB / 488.9 MB, free: 10.12 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1043, allocations: 3.938 kB / 488.9 MB, free: 10.12 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1043, allocations: 4 kB / 488.9 MB, free: 10.11 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1044, allocations: 8 kB / 488.9 MB, free: 10.11 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1045, allocations: 63.89 kB / 488.9 MB, free: 10.04 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.1051, allocations: 323.8 kB / 489.3 MB, free: 9.684 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1053, allocations: 70.55 kB / 489.3 MB, free: 9.605 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.1054, allocations: 36.83 kB / 489.4 MB, free: 9.566 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1054, allocations: 12.08 kB / 489.4 MB, free: 9.555 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.1055, allocations: 38.56 kB / 489.4 MB, free: 9.508 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1055, allocations: 0 / 489.4 MB, free: 9.508 MB / 350.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0004306/0.1059, allocations: 149.6 kB / 489.6 MB, free: 9.355 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1059, allocations: 55.39 kB / 489.6 MB, free: 9.289 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1062, allocations: 152.1 kB / 489.8 MB, free: 9.125 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1062, allocations: 25.7 kB / 489.8 MB, free: 9.094 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.1063, allocations: 104.1 kB / 489.9 MB, free: 8.988 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1063, allocations: 23.81 kB / 489.9 MB, free: 8.965 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.1064, allocations: 33.69 kB / 489.9 MB, free: 8.926 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001557/0.1065, allocations: 318.8 kB / 490.3 MB, free: 8.605 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.1066, allocations: 31.97 kB / 490.3 MB, free: 8.574 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.1067, allocations: 39.92 kB / 490.3 MB, free: 8.535 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1069, allocations: 84.98 kB / 490.4 MB, free: 8.449 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1069, allocations: 4 kB / 490.4 MB, free: 8.445 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002931/0.1072, allocations: 137.5 kB / 490.6 MB, free: 8.305 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1072, allocations: 6.188 kB / 490.6 MB, free: 8.301 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1072, allocations: 0 / 490.6 MB, free: 8.301 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1072, allocations: 0 / 490.6 MB, free: 8.301 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1074, allocations: 23.98 kB / 490.6 MB, free: 8.277 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1074, allocations: 0 / 490.6 MB, free: 8.277 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.1074, allocations: 15.83 kB / 490.6 MB, free: 8.262 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.1075, allocations: 27.95 kB / 490.6 MB, free: 8.234 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.0001165/0.1076, allocations: 129.8 kB / 490.7 MB, free: 8.098 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.1076, allocations: 7.953 kB / 490.8 MB, free: 8.09 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.1077, allocations: 12.66 kB / 490.8 MB, free: 8.074 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1077, allocations: 4 kB / 490.8 MB, free: 8.07 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1077, allocations: 3.938 kB / 490.8 MB, free: 8.066 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1077, allocations: 3.938 kB / 490.8 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.108, allocations: 176.7 kB / 491 MB, free: 7.848 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.108, allocations: 0 / 491 MB, free: 7.848 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.1081, allocations: 15.98 kB / 491 MB, free: 7.832 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1081, allocations: 0 / 491 MB, free: 7.832 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1081, allocations: 7.984 kB / 491 MB, free: 7.824 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1081, allocations: 0 / 491 MB, free: 7.824 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1081, allocations: 0 / 491 MB, free: 7.824 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.1084, allocations: 223.6 kB / 491.2 MB, free: 7.59 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.1085, allocations: 27.92 kB / 491.2 MB, free: 7.562 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1085, allocations: 7.984 kB / 491.2 MB, free: 7.555 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.1086, allocations: 4 kB / 491.2 MB, free: 7.551 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1086, allocations: 11.92 kB / 491.2 MB, free: 7.539 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.1087, allocations: 34.95 kB / 491.3 MB, free: 7.508 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.835e-05/0.1087, allocations: 107.2 kB / 491.4 MB, free: 7.402 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1087, allocations: 0 / 491.4 MB, free: 7.402 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003357/0.1091, allocations: 55.86 kB / 491.4 MB, free: 7.348 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.0005739/0.1097, allocations: 223.1 kB / 491.7 MB, free: 7.164 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002655/0.1099, allocations: 95.81 kB / 491.8 MB, free: 7.07 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1099, allocations: 0 / 491.8 MB, free: 7.07 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.11, allocations: 35.98 kB / 491.8 MB, free: 7.035 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.1103, allocations: 18.73 kB / 491.8 MB, free: 7.02 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.1108, allocations: 213.7 kB / 492 MB, free: 6.785 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1111, allocations: 0.708 MB / 492.7 MB, free: 6.051 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 8.755e-05/0.1112, allocations: 28.81 kB / 492.7 MB, free: 6.023 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.1113, allocations: 23.41 kB / 492.8 MB, free: 6 MB / 350.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.1113, allocations: 0 / 492.8 MB, free: 6 MB / 350.1 MB
Notification: Performance of Templates: time 0.006268/0.1175, allocations: 2.256 MB / 495 MB, free: 3.75 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]
[Calling sys.exit(0), Time elapsed: 4.522445097565651]
Failed to read output from testmodel.py, exit status != 0:
0.12516183406114578 0.14101659 0.035229684000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa4d2fbd7b0>