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.001527/0.001527, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001647/0.001647, allocations: 173.4 kB / 24.06 MB, free: 448 kB / 18.57 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 0.8937/0.8937, allocations: 177.1 MB / 204.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.02776/0.02776, allocations: 3.158 MB / 264.2 MB, free: 9.93 MB / 250.7 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.042e-06/1.042e-06, allocations: 0 / 334.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.728e-06/1.077e-05, allocations: 2.312 kB / 334.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001422/0.001433, allocations: 1.501 MB / 336.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002525, allocations: 1.075 MB / 337.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.002575, allocations: 0 / 337.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.00269, allocations: 15.81 kB / 337.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.002813, allocations: 23.84 kB / 337.3 MB, free: 13.15 MB / 266.7 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.0003902/0.003203, allocations: 191.2 kB / 337.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.003315, allocations: 119.7 kB / 337.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/0.003382, allocations: 19.97 kB / 337.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003488, allocations: 59.77 kB / 337.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.00353, allocations: 39.89 kB / 337.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003545, allocations: 4 kB / 337.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.003746, allocations: 203.5 kB / 337.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.003774, allocations: 15.92 kB / 337.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.003799, allocations: 31.84 kB / 338 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.003992, allocations: 207.4 kB / 338.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003994, allocations: 0 / 338.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003995, allocations: 7.938 kB / 338.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.003998, allocations: 0 / 338.2 MB, free: 12.27 MB / 266.7 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.0002699/0.004268, allocations: 455.8 kB / 338.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.004296, allocations: 8.031 kB / 338.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.004517, allocations: 64.77 kB / 338.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.004655, allocations: 162.6 kB / 338.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.004669, allocations: 8.359 kB / 338.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.004681, allocations: 4.375 kB / 338.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.004778, allocations: 62.16 kB / 338.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.004785, allocations: 3.938 kB / 338.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004794, allocations: 7.984 kB / 338.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.004798, allocations: 4 kB / 338.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.004843, allocations: 27.91 kB / 339 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.005104, allocations: 308.2 kB / 339.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.501e-05/0.005189, allocations: 59.03 kB / 339.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.005214, allocations: 19.83 kB / 339.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.005232, allocations: 15.92 kB / 339.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.005248, allocations: 37.38 kB / 339.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.005249, allocations: 0 / 339.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001894/0.005439, allocations: 109.6 kB / 339.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.005457, allocations: 51.41 kB / 339.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.005519, allocations: 199.7 kB / 339.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.005527, allocations: 25.7 kB / 339.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.00556, allocations: 146.8 kB / 339.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.005578, allocations: 23.78 kB / 339.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.005614, allocations: 43.34 kB / 340 MB, free: 10.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.005666, allocations: 0.4884 MB / 340.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.00569, allocations: 15.98 kB / 340.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.005713, allocations: 15.92 kB / 340.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.00577, allocations: 51.66 kB / 340.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.005773, allocations: 7.938 kB / 340.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001035/0.005876, allocations: 101.5 kB / 340.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.005886, allocations: 4 kB / 340.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00589, allocations: 0 / 340.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.005898, allocations: 4 kB / 340.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.005964, allocations: 15.98 kB / 340.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.005967, allocations: 4 kB / 340.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.005989, allocations: 7.922 kB / 340.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.006017, allocations: 23.95 kB / 340.7 MB, free: 9.523 MB / 266.7 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,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,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 4.519e-05/0.006062, allocations: 172.5 kB / 340.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.006084, allocations: 11.95 kB / 340.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.006112, allocations: 16.72 kB / 340.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006113, allocations: 4 kB / 340.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.006115, allocations: 0 / 340.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006118, allocations: 0 / 340.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.152e-05/0.006209, allocations: 125.2 kB / 341 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00621, allocations: 0 / 341 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.006242, allocations: 15.98 kB / 341.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.006245, allocations: 7.938 kB / 341.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.006253, allocations: 3.984 kB / 341.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006253, allocations: 4 kB / 341.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006255, allocations: 0 / 341.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.006379, allocations: 243.8 kB / 341.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.006406, allocations: 23.81 kB / 341.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.006418, allocations: 4 kB / 341.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.006452, allocations: 4 kB / 341.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.006481, allocations: 7.969 kB / 341.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.006503, allocations: 30.95 kB / 341.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.904e-05/0.006533, allocations: 143.2 kB / 341.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006533, allocations: 8 kB / 341.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.006737, allocations: 51.86 kB / 341.6 MB, free: 8.605 MB / 266.7 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.0003513/0.007089, allocations: 263.5 kB / 341.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007189, allocations: 55.59 kB / 341.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007191, allocations: 4 kB / 341.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.007228, allocations: 39.58 kB / 341.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.007415, allocations: 22.27 kB / 342 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.007642, allocations: 200.3 kB / 342.1 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.365e-05/0.007666, allocations: 64.09 kB / 342.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.007712, allocations: 20.64 kB / 342.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.00777, allocations: 90.17 kB / 342.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007771, allocations: 0 / 342.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of Templates: time 0.003563/0.01133, allocations: 2.854 MB / 345.2 MB, free: 5.016 MB / 266.7 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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6132243890315294]