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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 163.3 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.0273/0.0273, allocations: 3.151 MB / 262.3 MB, free: 13.7 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.323e-06/1.323e-06, allocations: 0 / 386.2 MB, free: 300 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.248e-05, allocations: 5.938 kB / 386.2 MB, free: 296 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002576/0.002599, allocations: 1.478 MB / 387.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.004571, allocations: 1.051 MB / 388.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.004625, allocations: 7.938 kB / 388.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.004744, allocations: 11.88 kB / 388.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.004907, allocations: 27.84 kB / 388.8 MB, free: 13.69 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.000625/0.005532, allocations: 187.2 kB / 389 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.005728, allocations: 127.6 kB / 389.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.005807, allocations: 4 kB / 389.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.005977, allocations: 67.81 kB / 389.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.006049, allocations: 31.89 kB / 389.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.006075, allocations: 8 kB / 389.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.006454, allocations: 199.5 kB / 389.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.006503, allocations: 23.91 kB / 389.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.006549, allocations: 31.91 kB / 389.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.006916, allocations: 231.3 kB / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.006918, allocations: 0 / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006919, allocations: 0 / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.006928, allocations: 0 / 389.7 MB, free: 12.8 MB / 318.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.000551/0.007479, allocations: 353.4 kB / 390 MB, free: 12.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.007514, allocations: 12.03 kB / 390 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.007867, allocations: 48.83 kB / 390.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.008145, allocations: 162 kB / 390.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.008161, allocations: 4.375 kB / 390.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.008182, allocations: 8.375 kB / 390.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.008378, allocations: 86.14 kB / 390.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008389, allocations: 3.938 kB / 390.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.008403, allocations: 3.984 kB / 390.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.008407, allocations: 0 / 390.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.008561, allocations: 55.97 kB / 390.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.009091, allocations: 292.3 kB / 390.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.009311, allocations: 82.47 kB / 390.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.009398, allocations: 33 kB / 390.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.009425, allocations: 8 kB / 390.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.009453, allocations: 34.55 kB / 390.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.009454, allocations: 0 / 390.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004261/0.00988, allocations: 149.6 kB / 391 MB, free: 11.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.00992, allocations: 55.41 kB / 391.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.01007, allocations: 146.4 kB / 391.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.0101, allocations: 29.7 kB / 391.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.01016, allocations: 92.14 kB / 391.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.0102, allocations: 31.73 kB / 391.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.01027, allocations: 33.64 kB / 391.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.01041, allocations: 326.8 kB / 391.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.0105, allocations: 35.98 kB / 391.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.01059, allocations: 43.84 kB / 391.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.01077, allocations: 76.83 kB / 391.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01078, allocations: 0 / 391.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002893/0.01107, allocations: 141.5 kB / 392 MB, free: 10.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01108, allocations: 8 kB / 392 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01108, allocations: 0 / 392 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.0111, allocations: 3.984 kB / 392 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.01123, allocations: 23.97 kB / 392 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01124, allocations: 320 / 392 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.01129, allocations: 7.891 kB / 392 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.01135, allocations: 35.14 kB / 392.1 MB, free: 10.24 MB / 318.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.0001058/0.01145, allocations: 121.7 kB / 392.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.0115, allocations: 11.95 kB / 392.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.01154, allocations: 16.77 kB / 392.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01155, allocations: 0 / 392.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.01155, allocations: 0 / 392.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01155, allocations: 0 / 392.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.01176, allocations: 153.1 kB / 392.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01176, allocations: 0 / 392.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.01185, allocations: 15.98 kB / 392.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01185, allocations: 4 kB / 392.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01186, allocations: 3.984 kB / 392.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.01186, allocations: 8 kB / 392.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01187, allocations: 3.984 kB / 392.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.0122, allocations: 227.3 kB / 392.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.01225, allocations: 19.94 kB / 392.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.01228, allocations: 0 / 392.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.01236, allocations: 3.984 kB / 392.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.01241, allocations: 11.98 kB / 392.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.01246, allocations: 23.95 kB / 392.7 MB, free: 9.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.01255, allocations: 107.3 kB / 392.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01255, allocations: 0 / 392.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.01288, allocations: 59.86 kB / 392.8 MB, free: 9.41 MB / 318.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.0005928/0.01347, allocations: 252 kB / 393.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.01371, allocations: 79.83 kB / 393.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01372, allocations: 4 kB / 393.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.01383, allocations: 47.97 kB / 393.2 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01409, allocations: 14.97 kB / 393.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.01451, allocations: 221.1 kB / 393.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.0146, allocations: 81.45 kB / 393.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.048e-05/0.01468, allocations: 24.64 kB / 393.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.01474, allocations: 20.48 kB / 393.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01474, allocations: 4 kB / 393.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of Templates: time 0.005886/0.02062, allocations: 2.273 MB / 395.8 MB, free: 6.41 MB / 318.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.120368406176567] Failed to read output from testmodel.py, exit status != 0: 0.028601471334695816 0.043836612000000004 0.033725727000000004 Calling exit ...