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.001008/0.001008, allocations: 77.09 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.001665/0.001665, allocations: 169 kB / 24.06 MB, free: 456 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.918/0.918, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.01729/0.01729, allocations: 3.159 MB / 264.2 MB, free: 9.898 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 2.164e-06/2.164e-06, allocations: 0 / 334.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.893e-05, allocations: 6.312 kB / 334.7 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.003754/0.003783, allocations: 2.022 MB / 336.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006373/0.01016, allocations: 3.534 MB / 340.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.01032, allocations: 7.875 kB / 340.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.01066, allocations: 63.39 kB / 340.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.01081, allocations: 51.64 kB / 340.4 MB, free: 11.07 MB / 314.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.001718/0.01253, allocations: 0.7974 MB / 341.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.01582, allocations: 5.669 MB / 346.9 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.01594, allocations: 48.47 kB / 346.9 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.01806, allocations: 2.071 MB / 349 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.01955, allocations: 1.77 MB / 350.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.01994, allocations: 232 kB / 351 MB, free: 488 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.748/3.768, allocations: 1.227 GB / 1.569 GB, free: 161.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/3.77, allocations: 0.9465 MB / 1.57 GB, free: 161.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00153/3.771, allocations: 0.8483 MB / 1.571 GB, free: 161.1 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/3.776, allocations: 4.137 MB / 1.575 GB, free: 160.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/3.776, allocations: 0.5625 kB / 1.575 GB, free: 160.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/3.776, allocations: 2.875 kB / 1.575 GB, free: 160.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.743e-05/3.776, allocations: 0.5 kB / 1.575 GB, free: 160.9 MB / 426.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.004217/3.78, allocations: 2.048 MB / 1.577 GB, free: 159.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/3.78, allocations: 8.844 kB / 1.577 GB, free: 159.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/3.782, allocations: 0.6053 MB / 1.578 GB, free: 159.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/3.783, allocations: 1.36 MB / 1.579 GB, free: 159 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/3.783, allocations: 133.5 kB / 1.579 GB, free: 159 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/3.784, allocations: 168.3 kB / 1.579 GB, free: 158.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/3.787, allocations: 2.468 MB / 1.582 GB, free: 158.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/3.787, allocations: 3.219 kB / 1.582 GB, free: 158.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/3.787, allocations: 72 kB / 1.582 GB, free: 158.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/3.787, allocations: 39.03 kB / 1.582 GB, free: 158.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06096/3.848, allocations: 41.5 MB / 1.622 GB, free: 133.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005317/3.853, allocations: 4.924 MB / 1.627 GB, free: 128.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1476/4.001, allocations: 70.09 MB / 1.696 GB, free: 58.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/4.002, allocations: 0.9031 MB / 1.697 GB, free: 57.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/4.003, allocations: 275.1 kB / 1.697 GB, free: 56.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/4.003, allocations: 76.7 kB / 1.697 GB, free: 56.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=422): time 6.983e-06/4.003, allocations: 0 / 1.697 GB, free: 56.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=422): time 0.1375/4.14, allocations: 8.782 MB / 1.705 GB, free: 164.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/4.14, allocations: 94.66 kB / 1.706 GB, free: 164.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/4.14, allocations: 314.9 kB / 1.706 GB, free: 164.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/4.141, allocations: 92.17 kB / 1.706 GB, free: 164.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/4.141, allocations: 206.6 kB / 1.706 GB, free: 164.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006528/4.141, allocations: 1.489 MB / 1.708 GB, free: 163.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009863/4.142, allocations: 0.9852 MB / 1.709 GB, free: 163.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/4.143, allocations: 0.4961 MB / 1.709 GB, free: 162.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/4.144, allocations: 0.7884 MB / 1.71 GB, free: 162.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/4.145, allocations: 1.111 MB / 1.711 GB, free: 162.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/4.148, allocations: 2.151 MB / 1.713 GB, free: 162.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/4.148, allocations: 0 / 1.713 GB, free: 162.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.00719/4.155, allocations: 7.574 MB / 1.72 GB, free: 161.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/4.155, allocations: 9.469 kB / 1.72 GB, free: 161.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/4.155, allocations: 0 / 1.72 GB, free: 161.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/4.155, allocations: 15.19 kB / 1.72 GB, free: 161.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/4.158, allocations: 1.093 MB / 1.721 GB, free: 161.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.202e-05/4.158, allocations: 14.56 kB / 1.722 GB, free: 161.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/4.159, allocations: 229.2 kB / 1.722 GB, free: 161.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/4.159, allocations: 313.9 kB / 1.722 GB, free: 161.7 MB / 426.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 (position.local_reset,globalSeed.seed,globalSeed.id_impure,spaceDomainNoiseMinimum.actualGlobalSeed,spaceDomainNoiseWhite.actualGlobalSeed,spaceDomainNoiseWhite.localSeed,spaceDomainNoiseMinimum.localSeed) * 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.000809/4.16, allocations: 331.6 kB / 1.722 GB, free: 161.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/4.161, allocations: 0.5748 MB / 1.723 GB, free: 161.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008538/4.17, allocations: 9.53 MB / 1.732 GB, free: 153.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/4.17, allocations: 40 kB / 1.732 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/4.17, allocations: 0 / 1.732 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/4.17, allocations: 20.58 kB / 1.732 GB, free: 153.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/4.171, allocations: 1.229 MB / 1.733 GB, free: 152.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/4.171, allocations: 8.266 kB / 1.733 GB, free: 152.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/4.173, allocations: 1.061 MB / 1.735 GB, free: 151.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.954e-05/4.173, allocations: 15.94 kB / 1.735 GB, free: 151.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/4.173, allocations: 298.6 kB / 1.735 GB, free: 151.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/4.173, allocations: 12 kB / 1.735 GB, free: 151.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/4.173, allocations: 0 / 1.735 GB, free: 151.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/4.182, allocations: 9.26 MB / 1.744 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/4.183, allocations: 1.21 MB / 1.745 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/4.183, allocations: 73.95 kB / 1.745 GB, free: 141.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/4.184, allocations: 66.73 kB / 1.745 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/4.184, allocations: 414.3 kB / 1.746 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003673/4.185, allocations: 309 kB / 1.746 GB, free: 141.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.953e-05/4.185, allocations: 213.6 kB / 1.746 GB, free: 141 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/4.185, allocations: 0 / 1.746 GB, free: 141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002176/4.187, allocations: 0.6781 MB / 1.747 GB, free: 140.3 MB / 426.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.001357/4.188, allocations: 0.7252 MB / 1.747 GB, free: 139.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003468/4.192, allocations: 2.634 MB / 1.75 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/4.192, allocations: 0 / 1.75 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/4.193, allocations: 1.593 MB / 1.752 GB, free: 135.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/4.194, allocations: 380.4 kB / 1.752 GB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/4.197, allocations: 3.032 MB / 1.755 GB, free: 132.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/4.197, allocations: 417.5 kB / 1.755 GB, free: 131.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003217/4.2, allocations: 1.85 MB / 1.757 GB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/4.202, allocations: 0.8331 MB / 1.758 GB, free: 129.4 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/4.202, allocations: 0 / 1.758 GB, free: 129.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03766/4.239, allocations: 46.75 MB / 1.804 GB, free: 83.07 MB / 426.7 MB " [Timeout remaining time 656] 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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.765928020235151]