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.00105/0.00105, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001153/0.001153, allocations: 181 kB / 23.35 MB, free: 1.137 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.037/1.037, allocations: 177.2 MB / 203.8 MB, free: 5.453 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.02594/0.02594, allocations: 3.149 MB / 263.4 MB, free: 9.922 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.623e-06/1.623e-06, allocations: 0 / 280.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.835e-05, allocations: 2.312 kB / 280.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.FilterAndConvolution): time 0.004143/0.004171, allocations: 2.027 MB / 282.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007329/0.0115, allocations: 3.592 MB / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.012, allocations: 11.88 kB / 286.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.01249, allocations: 67.38 kB / 286.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.01276, allocations: 43.7 kB / 286.4 MB, free: 2.875 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.002369/0.01513, allocations: 0.7979 MB / 287.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1408/0.156, allocations: 5.771 MB / 293 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.1561, allocations: 42.97 kB / 293 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006781/0.1629, allocations: 2.111 MB / 295.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.1666, allocations: 1.77 MB / 296.9 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.1682, allocations: 231.4 kB / 297.1 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1013/0.2695, allocations: 127.8 MB / 425 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.2714, allocations: 0.9471 MB / 425.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.2724, allocations: 0.8495 MB / 426.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.2762, allocations: 4.133 MB / 430.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2762, allocations: 0 / 430.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2762, allocations: 0 / 430.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.804e-05/0.2763, allocations: 0 / 430.9 MB, free: 1.992 MB / 378.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.003969/0.2802, allocations: 1.844 MB / 432.7 MB, free: 124 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2803, allocations: 8.031 kB / 432.7 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.118/0.3983, allocations: 0.5469 MB / 433.3 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.4004, allocations: 1.236 MB / 434.5 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.4005, allocations: 127 kB / 434.7 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005067/0.401, allocations: 168 kB / 434.8 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004519/0.4055, allocations: 2.476 MB / 437.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.4055, allocations: 0.7812 kB / 437.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.4058, allocations: 72.56 kB / 437.4 MB, free: 130.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.4058, allocations: 40.25 kB / 437.4 MB, free: 130.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04441/0.4502, allocations: 45.18 MB / 482.6 MB, free: 91.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/0.4561, allocations: 4.62 MB / 487.2 MB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1433/0.5995, allocations: 68.53 MB / 0.5427 GB, free: 18.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.6009, allocations: 0.8224 MB / 0.5435 GB, free: 17.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004551/0.6013, allocations: 280.4 kB / 0.5438 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.6014, allocations: 77.86 kB / 0.5439 GB, free: 16.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=422): time 6.542e-06/0.6014, allocations: 4 kB / 0.5439 GB, free: 16.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=422): time 0.003977/0.6054, allocations: 3.032 MB / 0.5468 GB, free: 13.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6054, allocations: 98.38 kB / 0.5469 GB, free: 13.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.6056, allocations: 244.3 kB / 0.5471 GB, free: 13.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.6058, allocations: 93.7 kB / 0.5472 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.6058, allocations: 132.5 kB / 0.5474 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.6064, allocations: 1.434 MB / 0.5488 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007869/0.6072, allocations: 0.8986 MB / 0.5496 GB, free: 11.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.6073, allocations: 323.7 kB / 0.5499 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/0.6081, allocations: 0.7528 MB / 0.5507 GB, free: 10.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/0.6091, allocations: 0.9538 MB / 0.5516 GB, free: 9.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.6112, allocations: 2.094 MB / 0.5537 GB, free: 7.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.6112, allocations: 0 / 0.5537 GB, free: 7.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.002881/0.6141, allocations: 2.468 MB / 0.5561 GB, free: 4.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6141, allocations: 7.984 kB / 0.5561 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6141, allocations: 0 / 0.5561 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.6141, allocations: 16 kB / 0.5561 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.6159, allocations: 1.064 MB / 0.5571 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.616, allocations: 19.98 kB / 0.5572 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.6166, allocations: 234.2 kB / 0.5574 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.6169, allocations: 303 kB / 0.5577 GB, free: 3.184 MB / 378.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.001026/0.6179, allocations: 299 kB / 0.5579 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009115/0.6189, allocations: 0.4998 MB / 0.5584 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1512/0.77, allocations: 3.868 MB / 0.5622 GB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.7701, allocations: 40.84 kB / 0.5623 GB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.7701, allocations: 0 / 0.5623 GB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/0.7701, allocations: 20.98 kB / 0.5623 GB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.7732, allocations: 1.204 MB / 0.5634 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.7732, allocations: 0 / 0.5634 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/0.7763, allocations: 1.043 MB / 0.5645 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.127e-05/0.7764, allocations: 15.53 kB / 0.5645 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007948/0.7772, allocations: 283.7 kB / 0.5648 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.004e-05/0.7772, allocations: 12.5 kB / 0.5648 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7772, allocations: 2 kB / 0.5648 GB, free: 127.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008586/0.7858, allocations: 3.587 MB / 0.5683 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.7873, allocations: 1.086 MB / 0.5693 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.7877, allocations: 71.64 kB / 0.5694 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7887, allocations: 66.53 kB / 0.5695 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/0.7893, allocations: 415.8 kB / 0.5699 GB, free: 126.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006356/0.7899, allocations: 304 kB / 0.5701 GB, free: 126.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.7901, allocations: 90.75 kB / 0.5702 GB, free: 126.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7901, allocations: 1.25 kB / 0.5702 GB, free: 126.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002885/0.793, allocations: 0.6788 MB / 0.5709 GB, free: 126.8 MB / 378.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.001843/0.7948, allocations: 0.7375 MB / 0.5716 GB, free: 126.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003924/0.7987, allocations: 2.393 MB / 0.574 GB, free: 126.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.815e-05/0.7988, allocations: 3.406 kB / 0.574 GB, free: 126.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.8008, allocations: 1.456 MB / 0.5754 GB, free: 125.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.8019, allocations: 374.5 kB / 0.5757 GB, free: 124.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.8054, allocations: 2.96 MB / 0.5786 GB, free: 122 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.8057, allocations: 425.4 kB / 0.579 GB, free: 121.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004599/0.8103, allocations: 1.852 MB / 0.5808 GB, free: 120.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.8121, allocations: 0.7913 MB / 0.5816 GB, free: 119.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.254e-06/0.8121, allocations: 0 / 0.5816 GB, free: 119.3 MB / 378.7 MB Notification: Performance of Templates: time 0.04887/0.861, allocations: 45.41 MB / 0.626 GB, free: 74.17 MB / 378.7 MB " [Timeout remaining time 659] 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: 5.6480125417001545]