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.001434/0.001434, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001571/0.001571, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02509/0.02509, allocations: 3.899 MB / 295.1 MB, free: 11.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.81 kB / 407.6 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07142/0.07262, allocations: 50.17 MB / 457.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002311/0.07497, allocations: 1.478 MB / 459.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.07663, allocations: 1.055 MB / 460.3 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.07669, allocations: 0 / 460.3 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.07682, allocations: 7.875 kB / 460.3 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.07699, allocations: 27.78 kB / 460.3 MB, free: 7.445 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.0005315/0.07753, allocations: 183.4 kB / 460.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.07771, allocations: 123.7 kB / 460.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.07779, allocations: 7.984 kB / 460.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.07789, allocations: 43.78 kB / 460.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.07798, allocations: 47.83 kB / 460.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.078, allocations: 7.938 kB / 460.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.07828, allocations: 171.8 kB / 460.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.07833, allocations: 12 kB / 460.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.07839, allocations: 39.72 kB / 461 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.07869, allocations: 211.4 kB / 461.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.07871, allocations: 4 kB / 461.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.07871, allocations: 4 kB / 461.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.07872, allocations: 0 / 461.2 MB, free: 6.605 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.0005206/0.07925, allocations: 427 kB / 461.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.07928, allocations: 8.031 kB / 461.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.07963, allocations: 52.78 kB / 461.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.07989, allocations: 212.6 kB / 461.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.07992, allocations: 12.38 kB / 461.9 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.07994, allocations: 12.11 kB / 461.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.08013, allocations: 81.58 kB / 462 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.08015, allocations: 0 / 462 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.08017, allocations: 4 kB / 462 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.08017, allocations: 0 / 462 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.08031, allocations: 59.89 kB / 462 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.08081, allocations: 356.7 kB / 462.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.08101, allocations: 78.53 kB / 462.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.0811, allocations: 48.81 kB / 462.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.08113, allocations: 0 / 462.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.08117, allocations: 34.56 kB / 462.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.08117, allocations: 4 kB / 462.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003746/0.08155, allocations: 149.4 kB / 462.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.0816, allocations: 51.41 kB / 462.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.08173, allocations: 152.2 kB / 462.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.08175, allocations: 25.7 kB / 462.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.08181, allocations: 100.1 kB / 463 MB, free: 4.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.08185, allocations: 31.78 kB / 463 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.08191, allocations: 29.7 kB / 463.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.08202, allocations: 322.8 kB / 463.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.08211, allocations: 39.92 kB / 463.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.08219, allocations: 39.91 kB / 463.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.08236, allocations: 80.83 kB / 463.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.08237, allocations: 0 / 463.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002589/0.08263, allocations: 137.4 kB / 463.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.08265, allocations: 8 kB / 463.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.08266, allocations: 3.984 kB / 463.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.08268, allocations: 0 / 463.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.08282, allocations: 23.92 kB / 463.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.08284, allocations: 0 / 463.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.0829, allocations: 7.938 kB / 463.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.08295, allocations: 30.95 kB / 463.7 MB, free: 3.809 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 8.423e-05/0.08304, allocations: 118.3 kB / 463.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.08308, allocations: 11.91 kB / 463.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.08314, allocations: 24.64 kB / 463.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.08314, allocations: 0 / 463.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.08315, allocations: 0 / 463.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.08316, allocations: 3.938 kB / 463.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.08338, allocations: 209.5 kB / 464.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08339, allocations: 0 / 464.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.08349, allocations: 19.92 kB / 464.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.0835, allocations: 0 / 464.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.08351, allocations: 0 / 464.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.08352, allocations: 8 kB / 464.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.08353, allocations: 0 / 464.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.08382, allocations: 223.3 kB / 464.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.0839, allocations: 96.98 kB / 464.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.08392, allocations: 4 kB / 464.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.08401, allocations: 4 kB / 464.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.08406, allocations: 11.92 kB / 464.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.08411, allocations: 31.89 kB / 464.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.955e-05/0.08419, allocations: 107.3 kB / 464.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0842, allocations: 3.938 kB / 464.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.08451, allocations: 55.98 kB / 464.6 MB, free: 2.797 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.0004114/0.08493, allocations: 230.1 kB / 464.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.08516, allocations: 91.94 kB / 465 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.08517, allocations: 4 kB / 465 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.951e-05/0.08527, allocations: 43.91 kB / 465 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.08551, allocations: 8.219 kB / 465 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.08591, allocations: 239.6 kB / 465.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.08617, allocations: 0.6924 MB / 465.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.08623, allocations: 23.42 kB / 466 MB, free: 1.457 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08623, allocations: 0 / 466 MB, free: 1.457 MB / 334.1 MB Notification: Performance of Templates: time 0.004209/0.09045, allocations: 2.42 MB / 468.4 MB, free: 15.04 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)