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.0007867/0.0007867, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008646/0.0008646, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.9517/0.9517, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.01522/0.01522, allocations: 3.14 MB / 262.3 MB, free: 10.26 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: "" <> 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 2.926e-06/2.926e-06, allocations: 4 kB / 385.8 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.518e-05, allocations: 2.281 kB / 385.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.002613/0.002638, allocations: 1.991 MB / 387.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.007353, allocations: 3.773 MB / 391.5 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.007645, allocations: 11.88 kB / 391.5 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.008094, allocations: 63.38 kB / 391.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.008276, allocations: 43.72 kB / 391.6 MB, free: 5.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.001861/0.01014, allocations: 0.7744 MB / 392.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003387/0.01352, allocations: 5.669 MB / 398.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.01377, allocations: 36.58 kB / 398.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/0.02031, allocations: 2.047 MB / 400.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.02259, allocations: 1.805 MB / 402 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008389/0.02343, allocations: 256 kB / 402.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.051/5.075, allocations: 1.225 GB / 1.618 GB, free: 148 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/5.076, allocations: 0.9852 MB / 1.619 GB, free: 147.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007411/5.077, allocations: 0.8824 MB / 1.62 GB, free: 147.4 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/5.081, allocations: 4.728 MB / 1.625 GB, free: 146 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/5.081, allocations: 1.719 kB / 1.625 GB, free: 146 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/5.081, allocations: 1.031 kB / 1.625 GB, free: 146 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.471e-05/5.081, allocations: 1.344 kB / 1.625 GB, free: 146 MB / 490.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.005455/5.086, allocations: 1.949 MB / 1.627 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/5.086, allocations: 10.09 kB / 1.627 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003685/5.087, allocations: 252.5 kB / 1.627 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/5.089, allocations: 387.5 kB / 1.627 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/5.091, allocations: 1.559 MB / 1.629 GB, free: 143.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/5.091, allocations: 126.7 kB / 1.629 GB, free: 143 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/5.092, allocations: 167.6 kB / 1.629 GB, free: 142.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/5.095, allocations: 3.619 MB / 1.633 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/5.095, allocations: 0 / 1.633 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/5.096, allocations: 77.92 kB / 1.633 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/5.096, allocations: 38.97 kB / 1.633 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05562/5.151, allocations: 59.99 MB / 1.691 GB, free: 81.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/5.158, allocations: 6.413 MB / 1.697 GB, free: 75.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2878/5.445, allocations: 46.64 MB / 1.743 GB, free: 195.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/5.448, allocations: 2.034 MB / 1.745 GB, free: 195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/5.449, allocations: 253 kB / 1.745 GB, free: 195 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/5.449, allocations: 76 kB / 1.745 GB, free: 194.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=422): time 6.242e-06/5.449, allocations: 0 / 1.745 GB, free: 194.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=422): time 0.01524/5.464, allocations: 12.09 MB / 1.757 GB, free: 189.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/5.465, allocations: 98.7 kB / 1.757 GB, free: 189.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/5.465, allocations: 308.1 kB / 1.758 GB, free: 188.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/5.465, allocations: 93.7 kB / 1.758 GB, free: 188.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/5.465, allocations: 153.9 kB / 1.758 GB, free: 188.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006231/5.466, allocations: 1.431 MB / 1.759 GB, free: 187.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007988/5.467, allocations: 0.9483 MB / 1.76 GB, free: 186.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.829e-05/5.467, allocations: 333.7 kB / 1.76 GB, free: 186 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/5.469, allocations: 2.014 MB / 1.762 GB, free: 184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/5.471, allocations: 2.275 MB / 1.765 GB, free: 181.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005166/5.476, allocations: 4.72 MB / 1.769 GB, free: 177 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/5.476, allocations: 4 kB / 1.769 GB, free: 177 MB / 490.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009943/5.486, allocations: 9.74 MB / 1.779 GB, free: 167.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/5.486, allocations: 9.641 kB / 1.779 GB, free: 167.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/5.486, allocations: 0 / 1.779 GB, free: 167.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/5.486, allocations: 18.08 kB / 1.779 GB, free: 167.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/5.488, allocations: 1.09 MB / 1.78 GB, free: 166.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.782e-05/5.488, allocations: 12 kB / 1.78 GB, free: 166.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009335/5.489, allocations: 243.3 kB / 1.78 GB, free: 165.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/5.49, allocations: 356.2 kB / 1.78 GB, free: 165.5 MB / 490.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.0009315/5.49, allocations: 0.5165 MB / 1.781 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/5.492, allocations: 351.9 kB / 1.781 GB, free: 164.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/5.502, allocations: 11.89 MB / 1.793 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/5.502, allocations: 40 kB / 1.793 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/5.502, allocations: 0 / 1.793 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/5.502, allocations: 20.95 kB / 1.793 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/5.503, allocations: 2.034 MB / 1.795 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/5.503, allocations: 0 / 1.795 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/5.505, allocations: 1.075 MB / 1.796 GB, free: 149.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/5.505, allocations: 16 kB / 1.796 GB, free: 149.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/5.506, allocations: 291.5 kB / 1.796 GB, free: 148.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/5.506, allocations: 12 kB / 1.796 GB, free: 148.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/5.506, allocations: 4 kB / 1.796 GB, free: 148.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/5.517, allocations: 13.44 MB / 1.809 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/5.518, allocations: 1.274 MB / 1.811 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/5.519, allocations: 64 kB / 1.811 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/5.519, allocations: 85 kB / 1.811 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/5.52, allocations: 402.5 kB / 1.811 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/5.52, allocations: 343.4 kB / 1.811 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002494/5.52, allocations: 239 kB / 1.812 GB, free: 132.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/5.52, allocations: 0 / 1.812 GB, free: 132.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002427/5.523, allocations: 0.6792 MB / 1.812 GB, free: 131.4 MB / 490.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.01454/5.537, allocations: 14.6 MB / 1.827 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005747/5.543, allocations: 4.842 MB / 1.831 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/5.543, allocations: 0 / 1.831 GB, free: 111.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002671/5.546, allocations: 2.559 MB / 1.834 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/5.547, allocations: 159.2 kB / 1.834 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/5.572, allocations: 27.46 MB / 1.861 GB, free: 80.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/5.573, allocations: 0.7376 MB / 1.862 GB, free: 80.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00489/5.578, allocations: 3.007 MB / 1.864 GB, free: 77.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/5.579, allocations: 0.9954 MB / 1.865 GB, free: 76.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.624e-06/5.579, allocations: 0 / 1.865 GB, free: 76.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/5.784, allocations: 54.32 MB / 1.918 GB, free: 177.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/14.33, allocations: 3.844 kB / 1.918 GB, free: 177.4 MB / 490.7 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 19.132582520134747] Failed to read output from testmodel.py, exit status != 0: 14.426601460203528 14.434215288 9.351770375 Calling exit ...