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.001328/0.001328, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001068/0.001068, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02668/0.02668, allocations: 3.9 MB / 295.1 MB, free: 11 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.75 kB / 407.6 MB, free: 28.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07208/0.0733, allocations: 50.19 MB / 457.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002553/0.07589, allocations: 1.466 MB / 459.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.07772, allocations: 1.051 MB / 460.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.0778, allocations: 0 / 460.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.07792, allocations: 23.8 kB / 460.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.07809, allocations: 15.86 kB / 460.3 MB, free: 7.418 MB / 334.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.0006535/0.07875, allocations: 183.4 kB / 460.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.07893, allocations: 119.7 kB / 460.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.07903, allocations: 12 kB / 460.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.07913, allocations: 47.77 kB / 460.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.07921, allocations: 39.84 kB / 460.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.07924, allocations: 8 kB / 460.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.07959, allocations: 171.7 kB / 460.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.07963, allocations: 19.92 kB / 460.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.07969, allocations: 43.66 kB / 461 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.08001, allocations: 207.6 kB / 461.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.08002, allocations: 0 / 461.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.08003, allocations: 7.922 kB / 461.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.08004, allocations: 0 / 461.2 MB, free: 6.574 MB / 334.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.0005483/0.08059, allocations: 423 kB / 461.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.08063, allocations: 12.03 kB / 461.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.08101, allocations: 52.7 kB / 461.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.08131, allocations: 208.7 kB / 461.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.08134, allocations: 8.375 kB / 461.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.08136, allocations: 8.125 kB / 461.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.08155, allocations: 81.58 kB / 461.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.08156, allocations: 0 / 461.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.08158, allocations: 3.984 kB / 461.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.0816, allocations: 8 kB / 462 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.08174, allocations: 55.97 kB / 462 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.08233, allocations: 368.6 kB / 462.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.08253, allocations: 78.58 kB / 462.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.08262, allocations: 40.83 kB / 462.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.08265, allocations: 4 kB / 462.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.08268, allocations: 30.56 kB / 462.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.08269, allocations: 4 kB / 462.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004356/0.08313, allocations: 149.4 kB / 462.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.08318, allocations: 59.33 kB / 462.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.08331, allocations: 152.2 kB / 462.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.08334, allocations: 25.7 kB / 462.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.0834, allocations: 100.3 kB / 463 MB, free: 4.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.08343, allocations: 19.64 kB / 463 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.0835, allocations: 45.62 kB / 463.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.08361, allocations: 318.8 kB / 463.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.08371, allocations: 35.97 kB / 463.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.08383, allocations: 31.98 kB / 463.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.084, allocations: 80.83 kB / 463.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.08401, allocations: 0 / 463.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002714/0.08429, allocations: 153.3 kB / 463.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.08431, allocations: 4 kB / 463.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.08432, allocations: 0 / 463.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.08433, allocations: 0 / 463.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.08447, allocations: 19.98 kB / 463.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.08448, allocations: 0 / 463.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.08454, allocations: 7.938 kB / 463.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.08459, allocations: 30.77 kB / 463.7 MB, free: 3.781 MB / 334.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.0001314/0.08473, allocations: 130.2 kB / 463.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.08478, allocations: 11.91 kB / 463.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.08483, allocations: 8.719 kB / 463.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.08485, allocations: 4 kB / 463.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.08485, allocations: 0 / 463.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.08486, allocations: 3.938 kB / 463.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.08508, allocations: 205.5 kB / 464.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.08509, allocations: 0 / 464.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.08519, allocations: 19.98 kB / 464.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.0852, allocations: 0 / 464.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.08522, allocations: 11.98 kB / 464.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.08523, allocations: 0 / 464.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.08523, allocations: 0 / 464.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.08556, allocations: 219.6 kB / 464.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.08564, allocations: 101 kB / 464.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.08567, allocations: 3.938 kB / 464.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.08576, allocations: 4 kB / 464.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.08581, allocations: 19.92 kB / 464.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.08585, allocations: 27.95 kB / 464.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.08594, allocations: 107.2 kB / 464.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08595, allocations: 0 / 464.6 MB, free: 2.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.08629, allocations: 59.92 kB / 464.7 MB, free: 2.766 MB / 334.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.0004616/0.08676, allocations: 218.3 kB / 464.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.087, allocations: 99.81 kB / 465 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.08701, allocations: 4 kB / 465 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.08712, allocations: 39.97 kB / 465 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.08738, allocations: 9.875 kB / 465 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.08779, allocations: 235.6 kB / 465.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.08804, allocations: 0.704 MB / 465.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.08811, allocations: 19.42 kB / 466 MB, free: 1.426 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.08811, allocations: 4 kB / 466 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Templates: time 0.004373/0.09249, allocations: 2.42 MB / 468.4 MB, free: 15 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)