Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.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.001551/0.001551, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001629/0.001629, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 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 1.527/1.527, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 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.02816/0.02816, allocations: 3.152 MB / 262.7 MB, free: 10.09 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.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") translateModel(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,tolerance=0.001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.769e-05, allocations: 2.312 kB / 332.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002576/0.002604, allocations: 1.987 MB / 334.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.007976, allocations: 3.761 MB / 338.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.008127, allocations: 11.88 kB / 338.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.008476, allocations: 59.5 kB / 338.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.00863, allocations: 47.59 kB / 338.6 MB, free: 10.43 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.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseMinimum.convertRealToIntegers'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.spaceDomainNoiseWhite.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.01035, allocations: 0.7706 MB / 339.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.01313, allocations: 5.669 MB / 345.1 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.01328, allocations: 44.52 kB / 345.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.01573, allocations: 2.044 MB / 347.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.01746, allocations: 1.805 MB / 349 MB, free: 84 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.01797, allocations: 256 kB / 349.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.583/7.601, allocations: 1.225 GB / 1.566 GB, free: 125.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/7.603, allocations: 0.9808 MB / 1.567 GB, free: 125.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/7.604, allocations: 0.8847 MB / 1.568 GB, free: 124.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005732/7.61, allocations: 4.767 MB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/7.61, allocations: 0.5938 kB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/7.61, allocations: 0 / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.123e-05/7.61, allocations: 2.656 kB / 1.573 GB, free: 121.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006256/7.616, allocations: 1.941 MB / 1.575 GB, free: 119.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/7.616, allocations: 8.031 kB / 1.575 GB, free: 119.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/7.618, allocations: 0.6092 MB / 1.575 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/7.623, allocations: 1.562 MB / 1.577 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/7.623, allocations: 131.8 kB / 1.577 GB, free: 117.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/7.624, allocations: 168.3 kB / 1.577 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006359/7.63, allocations: 3.615 MB / 1.581 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/7.63, allocations: 0 / 1.581 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/7.63, allocations: 79.94 kB / 1.581 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/7.63, allocations: 40 kB / 1.581 GB, free: 113.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08293/7.713, allocations: 49.93 MB / 1.63 GB, free: 63.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008569/7.722, allocations: 6.212 MB / 1.636 GB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4122/8.134, allocations: 46.64 MB / 1.681 GB, free: 153.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/8.137, allocations: 2.038 MB / 1.683 GB, free: 151.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/8.138, allocations: 275 kB / 1.684 GB, free: 151.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/8.138, allocations: 69.88 kB / 1.684 GB, free: 151.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=422): time 6.863e-06/8.138, allocations: 0 / 1.684 GB, free: 151.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.01523/8.153, allocations: 12.31 MB / 1.696 GB, free: 138.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/8.153, allocations: 98.7 kB / 1.696 GB, free: 138.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/8.154, allocations: 308 kB / 1.696 GB, free: 137.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002737/8.154, allocations: 93.7 kB / 1.696 GB, free: 137.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/8.154, allocations: 153.6 kB / 1.696 GB, free: 137.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008232/8.155, allocations: 1.436 MB / 1.698 GB, free: 136.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/8.156, allocations: 0.9445 MB / 1.699 GB, free: 135.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/8.156, allocations: 325.7 kB / 1.699 GB, free: 135 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/8.159, allocations: 2.021 MB / 1.701 GB, free: 133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/8.162, allocations: 2.273 MB / 1.703 GB, free: 130.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007375/8.169, allocations: 4.726 MB / 1.708 GB, free: 126 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/8.169, allocations: 4 kB / 1.708 GB, free: 126 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01346/8.183, allocations: 9.968 MB / 1.717 GB, free: 116 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/8.183, allocations: 4 kB / 1.717 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/8.183, allocations: 0.75 kB / 1.717 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/8.183, allocations: 16 kB / 1.717 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/8.187, allocations: 1.099 MB / 1.719 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/8.187, allocations: 16 kB / 1.719 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/8.189, allocations: 243 kB / 1.719 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/8.19, allocations: 339.4 kB / 1.719 GB, free: 114.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (globalSeed.seed,spaceDomainNoiseWhite.actualGlobalSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseWhite.localSeed,spaceDomainNoiseMinimum.localSeed,position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 431 * 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.0009679/8.19, allocations: 0.5252 MB / 1.72 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/8.193, allocations: 0.5654 MB / 1.72 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/8.208, allocations: 11.9 MB / 1.732 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/8.208, allocations: 40 kB / 1.732 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/8.208, allocations: 0 / 1.732 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/8.208, allocations: 23.86 kB / 1.732 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/8.21, allocations: 1.832 MB / 1.734 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/8.21, allocations: 7.719 kB / 1.734 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004174/8.215, allocations: 1.068 MB / 1.735 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.424e-05/8.215, allocations: 16 kB / 1.735 GB, free: 97.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005108/8.215, allocations: 291.5 kB / 1.735 GB, free: 97.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/8.215, allocations: 12 kB / 1.735 GB, free: 97.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/8.215, allocations: 4 kB / 1.735 GB, free: 97.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/8.233, allocations: 13.67 MB / 1.748 GB, free: 83.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/8.235, allocations: 1.27 MB / 1.75 GB, free: 81.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/8.235, allocations: 64 kB / 1.75 GB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/8.237, allocations: 88.06 kB / 1.75 GB, free: 81.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/8.237, allocations: 406.5 kB / 1.75 GB, free: 81.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004817/8.238, allocations: 350.3 kB / 1.75 GB, free: 80.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003363/8.238, allocations: 219 kB / 1.751 GB, free: 80.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/8.238, allocations: 0 / 1.751 GB, free: 80.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002707/8.241, allocations: 0.6831 MB / 1.751 GB, free: 80.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (position.y,spaceDomainFilter.x_scaled[1],spaceDomainFilter.x_scaled[2]) * Number of discrete variables: 2 (spaceDomainNoiseMinimum.localSeed,spaceDomainNoiseWhite.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (422): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002213/8.243, allocations: 0.7002 MB / 1.752 GB, free: 79.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007398/8.25, allocations: 4.842 MB / 1.757 GB, free: 74.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/8.25, allocations: 0 / 1.757 GB, free: 74.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003762/8.254, allocations: 2.567 MB / 1.759 GB, free: 71.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/8.255, allocations: 386.2 kB / 1.76 GB, free: 71.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/8.261, allocations: 4.489 MB / 1.764 GB, free: 67.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/8.261, allocations: 0.7415 MB / 1.765 GB, free: 66.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006949/8.268, allocations: 3.022 MB / 1.768 GB, free: 63.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/8.27, allocations: 0.644 MB / 1.768 GB, free: 62.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/8.27, allocations: 0 / 1.768 GB, free: 62.83 MB / 410.7 MB Notification: Performance of Templates: time 0.184/8.454, allocations: 40.51 MB / 1.808 GB, free: 161.7 MB / 410.7 MB " [Timeout remaining time 652] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.sim & ./AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.7621750109829]