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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02706/0.02706, allocations: 3.946 MB / 306.6 MB, free: 6.039 MB / 238.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 71.89 kB / 426.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 52.92 MB / 479 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.004747/0.144, allocations: 2.071 MB / 481.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008384/0.1524, allocations: 3.945 MB / 485 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.1528, allocations: 7.938 kB / 485 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.1534, allocations: 59.52 kB / 485.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1537, allocations: 47.66 kB / 485.1 MB, free: 10.23 MB / 350.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.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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.002821/0.1565, allocations: 0.7128 MB / 485.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.162, allocations: 5.728 MB / 491.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1623, allocations: 40.38 kB / 491.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.1654, allocations: 1.493 MB / 493.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.1692, allocations: 1.919 MB / 495 MB, free: 332 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.1706, allocations: 256 kB / 495.3 MB, free: 76 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.864/8.035, allocations: 1.218 GB / 1.701 GB, free: 173.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001936/8.037, allocations: 0.978 MB / 1.702 GB, free: 173.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/8.039, allocations: 1.1 MB / 1.703 GB, free: 173.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007146/8.046, allocations: 3.862 MB / 1.707 GB, free: 172.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/8.046, allocations: 0 / 1.707 GB, free: 172.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/8.046, allocations: 0 / 1.707 GB, free: 172.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001157/8.046, allocations: 0 / 1.707 GB, free: 172.1 MB / 0.545 GB 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.008631/8.055, allocations: 2.024 MB / 1.709 GB, free: 170.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/8.055, allocations: 14.88 kB / 1.709 GB, free: 170.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004825/8.055, allocations: 255.7 kB / 1.709 GB, free: 170.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/8.058, allocations: 395.1 kB / 1.71 GB, free: 170.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/8.062, allocations: 1.619 MB / 1.711 GB, free: 168.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/8.063, allocations: 127.5 kB / 1.711 GB, free: 168.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006745/8.063, allocations: 167.7 kB / 1.712 GB, free: 168.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006501/8.07, allocations: 3.616 MB / 1.715 GB, free: 166.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/8.07, allocations: 0 / 1.715 GB, free: 166.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/8.07, allocations: 82.06 kB / 1.715 GB, free: 166.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/8.07, allocations: 41.06 kB / 1.715 GB, free: 166.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09432/8.164, allocations: 62.5 MB / 1.776 GB, free: 106 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/8.178, allocations: 6.893 MB / 1.783 GB, free: 99.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2392/8.417, allocations: 48.54 MB / 1.83 GB, free: 50.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/8.421, allocations: 2.036 MB / 1.832 GB, free: 48.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/8.422, allocations: 0.6008 MB / 1.833 GB, free: 47.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.04e-05/8.422, allocations: 77.88 kB / 1.833 GB, free: 47.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=422): time 9.107e-06/8.422, allocations: 0 / 1.833 GB, free: 47.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=422): time 0.02118/8.443, allocations: 12.59 MB / 1.845 GB, free: 35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/8.443, allocations: 102.6 kB / 1.845 GB, free: 34.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/8.444, allocations: 307 kB / 1.846 GB, free: 34.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007202/8.445, allocations: 89.7 kB / 1.846 GB, free: 34.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/8.445, allocations: 158.8 kB / 1.846 GB, free: 34.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/8.446, allocations: 1.458 MB / 1.847 GB, free: 32.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002597/8.449, allocations: 0.9406 MB / 1.848 GB, free: 31.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.3464/8.795, allocations: 326 kB / 1.849 GB, free: 221.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00647/8.802, allocations: 2.012 MB / 1.851 GB, free: 221.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005843/8.808, allocations: 2.268 MB / 1.853 GB, free: 221 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/8.819, allocations: 4.732 MB / 1.857 GB, free: 219.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/8.819, allocations: 1.156 kB / 1.857 GB, free: 219.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01879/8.838, allocations: 13.41 MB / 1.871 GB, free: 210.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/8.838, allocations: 8 kB / 1.871 GB, free: 210.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/8.838, allocations: 0 / 1.871 GB, free: 210.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/8.838, allocations: 14.39 kB / 1.871 GB, free: 210.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/8.842, allocations: 1.1 MB / 1.872 GB, free: 209.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.302e-05/8.842, allocations: 16 kB / 1.872 GB, free: 209.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/8.844, allocations: 240.7 kB / 1.872 GB, free: 209.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005009/8.844, allocations: 350.8 kB / 1.872 GB, free: 209.2 MB / 0.545 GB 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.001324/8.845, allocations: 0.5189 MB / 1.873 GB, free: 208.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/8.847, allocations: 349.6 kB / 1.873 GB, free: 208.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/8.863, allocations: 12.38 MB / 1.885 GB, free: 196.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/8.863, allocations: 43.94 kB / 1.885 GB, free: 196.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/8.863, allocations: 0 / 1.885 GB, free: 196.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/8.863, allocations: 19.92 kB / 1.885 GB, free: 196.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/8.866, allocations: 2.5 MB / 1.888 GB, free: 194.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/8.866, allocations: 0 / 1.888 GB, free: 194.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003679/8.87, allocations: 1.065 MB / 1.889 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/8.87, allocations: 12 kB / 1.889 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/8.87, allocations: 303.3 kB / 1.889 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/8.87, allocations: 19.94 kB / 1.889 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/8.87, allocations: 4.562 kB / 1.889 GB, free: 192.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/8.887, allocations: 13.91 MB / 1.903 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/8.889, allocations: 1.345 MB / 1.904 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003645/8.889, allocations: 69.95 kB / 1.904 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/8.89, allocations: 85.11 kB / 1.904 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/8.891, allocations: 390.6 kB / 1.904 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004887/8.891, allocations: 351.4 kB / 1.905 GB, free: 176.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003541/8.892, allocations: 221.9 kB / 1.905 GB, free: 176.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/8.892, allocations: 0 / 1.905 GB, free: 176.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003645/8.895, allocations: 0.6869 MB / 1.906 GB, free: 175.6 MB / 0.545 GB 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.01891/8.914, allocations: 15.03 MB / 1.92 GB, free: 160.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007589/8.922, allocations: 4.84 MB / 1.925 GB, free: 155.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/8.922, allocations: 0 / 1.925 GB, free: 155.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004797/8.927, allocations: 2.567 MB / 1.928 GB, free: 153.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/8.929, allocations: 160.5 kB / 1.928 GB, free: 153 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07671/9.005, allocations: 32.23 MB / 1.959 GB, free: 120.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/9.007, allocations: 1.331 MB / 1.961 GB, free: 119.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01782/9.025, allocations: 3.001 MB / 1.963 GB, free: 116.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005107/9.03, allocations: 0.9944 MB / 1.964 GB, free: 115.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.554e-06/9.03, allocations: 4 kB / 1.964 GB, free: 115.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/9.18, allocations: 52.02 MB / 2.015 GB, free: 63.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/22.79, allocations: 0 / 2.015 GB, free: 63.41 MB / 0.545 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution_fmu --startTime=0 --stopTime=5 --stepSize=0.01 --timeout=50 --tolerance=0.001 AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_FilterAndConvolution.fmu > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.00703895278275] Failed to read output from testmodel.py, exit status != 0: 22.89251345861703 22.911346878 14.861583001 Calling exit ...