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/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/AdvancedNoise 1.1.0-master/package.mo): time 0.02258/0.02258, allocations: 3.898 MB / 19.95 MB, free: 2.434 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.001093/0.001093, allocations: 180.8 kB / 21.59 MB, free: 1.406 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.324/1.324, allocations: 222.9 MB / 246 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 100.5 kB / 297 MB, free: 10.45 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 63.91 kB / 358.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2123, allocations: 50.18 MB / 408.3 MB, free: 31.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002392/0.2147, allocations: 1.544 MB / 409.8 MB, free: 30.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2162, allocations: 1.069 MB / 410.9 MB, free: 29.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.2163, allocations: 0 / 410.9 MB, free: 29.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2164, allocations: 11.88 kB / 410.9 MB, free: 29.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.2166, allocations: 23.8 kB / 410.9 MB, free: 29.32 MB / 302.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.2171, allocations: 175.5 kB / 411.1 MB, free: 29.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2172, allocations: 115.7 kB / 411.2 MB, free: 29.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.2173, allocations: 15.98 kB / 411.2 MB, free: 29.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.2174, allocations: 43.78 kB / 411.3 MB, free: 28.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.2174, allocations: 47.77 kB / 411.3 MB, free: 28.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2175, allocations: 4 kB / 411.3 MB, free: 28.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.2177, allocations: 175.8 kB / 411.5 MB, free: 28.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.2177, allocations: 23.92 kB / 411.5 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.2177, allocations: 31.8 kB / 411.5 MB, free: 28.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.218, allocations: 211.4 kB / 411.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.218, allocations: 0 / 411.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.218, allocations: 0 / 411.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.218, allocations: 0 / 411.7 MB, free: 28.49 MB / 302.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.0003854/0.2184, allocations: 425 kB / 412.2 MB, free: 28.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2184, allocations: 12.03 kB / 412.2 MB, free: 28.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.2188, allocations: 52.77 kB / 412.2 MB, free: 27.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.219, allocations: 212.6 kB / 412.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.219, allocations: 4.375 kB / 412.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.219, allocations: 8.125 kB / 412.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2192, allocations: 81.58 kB / 412.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.2192, allocations: 0 / 412.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2192, allocations: 0 / 412.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2192, allocations: 4 kB / 412.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2193, allocations: 67.89 kB / 412.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.2197, allocations: 356.7 kB / 412.9 MB, free: 27.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2199, allocations: 78.48 kB / 413 MB, free: 27.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.22, allocations: 37 kB / 413.1 MB, free: 27.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.22, allocations: 11.98 kB / 413.1 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.22, allocations: 38.58 kB / 413.1 MB, free: 26.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.2201, allocations: 3.984 kB / 413.1 MB, free: 26.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003239/0.2204, allocations: 145.7 kB / 413.2 MB, free: 26.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.2204, allocations: 55.41 kB / 413.3 MB, free: 26.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.2205, allocations: 153 kB / 413.5 MB, free: 26.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.2205, allocations: 29.7 kB / 413.5 MB, free: 26.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.2206, allocations: 100.1 kB / 413.6 MB, free: 26.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2206, allocations: 27.56 kB / 413.6 MB, free: 26.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.2206, allocations: 29.7 kB / 413.6 MB, free: 26.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.2207, allocations: 322.8 kB / 413.9 MB, free: 26.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.2208, allocations: 39.91 kB / 414 MB, free: 26.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.2208, allocations: 31.98 kB / 414 MB, free: 25.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.221, allocations: 88.77 kB / 414.1 MB, free: 25.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.221, allocations: 0 / 414.1 MB, free: 25.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002014/0.2212, allocations: 137.7 kB / 414.2 MB, free: 25.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2212, allocations: 7.984 kB / 414.2 MB, free: 25.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2212, allocations: 4 kB / 414.3 MB, free: 25.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2212, allocations: 0 / 414.3 MB, free: 25.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2213, allocations: 23.92 kB / 414.3 MB, free: 25.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2214, allocations: 8 kB / 414.3 MB, free: 25.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.2214, allocations: 7.938 kB / 414.3 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.2214, allocations: 31.95 kB / 414.3 MB, free: 25.68 MB / 302.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 6.2e-05/0.2215, allocations: 121.8 kB / 414.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.2216, allocations: 7.906 kB / 414.4 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.2219, allocations: 222 kB / 414.7 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.2219, allocations: 4 kB / 414.7 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2219, allocations: 0 / 414.7 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.222, allocations: 3.938 kB / 414.7 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.2222, allocations: 217.5 kB / 414.9 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2222, allocations: 3.984 kB / 414.9 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.2223, allocations: 12 kB / 414.9 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2223, allocations: 0 / 414.9 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2223, allocations: 11.97 kB / 414.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2223, allocations: 0 / 414.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2223, allocations: 0 / 414.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.2226, allocations: 273.8 kB / 415.2 MB, free: 24.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.2226, allocations: 100.9 kB / 415.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.2227, allocations: 11.98 kB / 415.3 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.2227, allocations: 0 / 415.3 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.2228, allocations: 11.92 kB / 415.3 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.2228, allocations: 27.95 kB / 415.3 MB, free: 24.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.2229, allocations: 113.9 kB / 415.4 MB, free: 24.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2229, allocations: 0 / 415.4 MB, free: 24.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.2232, allocations: 55.98 kB / 415.5 MB, free: 24.41 MB / 302.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: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004115/0.2236, allocations: 242.8 kB / 415.7 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.2239, allocations: 119.8 kB / 415.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2239, allocations: 4 kB / 415.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.224, allocations: 123.3 kB / 416 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2243, allocations: 8 kB / 416 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.2246, allocations: 286 kB / 416.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2248, allocations: 0.7118 MB / 417 MB, free: 22.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.2248, allocations: 32.33 kB / 417 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.2249, allocations: 19.42 kB / 417 MB, free: 22.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2249, allocations: 4 kB / 417 MB, free: 22.85 MB / 302.1 MB Notification: Performance of Templates: time 0.004284/0.2292, allocations: 2.289 MB / 419.3 MB, free: 20.56 MB / 302.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 -s gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)