Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) 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.MinimumAndZeroPhase,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_MinimumAndZeroPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_MinimumAndZeroPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006623/0.006623, allocations: 99.41 kB / 15.73 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 190.2 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1683/0.1683, allocations: 3.886 MB / 294.4 MB, free: 3.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.88 kB / 406.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2651, allocations: 50.18 MB / 456.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase): time 0.002804/0.2679, allocations: 2.057 MB / 458.7 MB, free: 19.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.2735, allocations: 3.902 MB / 462.6 MB, free: 16.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.2737, allocations: 9.906 kB / 462.6 MB, free: 16.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2739, allocations: 40.06 kB / 462.6 MB, free: 16.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.274, allocations: 27.12 kB / 462.7 MB, free: 16.45 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.MinimumAndZeroPhase.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.MinimumAndZeroPhase.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.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.MinimumAndZeroPhase.spaceDomainNoiseZero.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseZero.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.MinimumAndZeroPhase.spaceDomainNoiseZero.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.spaceDomainNoiseZero.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.2761, allocations: 0.803 MB / 463.5 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.289, allocations: 13.64 MB / 477.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.2894, allocations: 63.39 kB / 477.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007868/0.2973, allocations: 3.364 MB / 480.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007797/0.3051, allocations: 4.397 MB / 484.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003555/0.3087, allocations: 0.5928 MB / 485.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 53.64/53.95, allocations: 8.772 GB / 9.246 GB, free: 189.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005073/53.95, allocations: 2.291 MB / 9.249 GB, free: 189 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005785/53.96, allocations: 2.551 MB / 9.251 GB, free: 188.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01485/53.97, allocations: 8.626 MB / 9.26 GB, free: 185.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/53.97, allocations: 0 / 9.26 GB, free: 185.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/53.97, allocations: 0 / 9.26 GB, free: 185.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002683/53.97, allocations: 5.156 kB / 9.26 GB, free: 185.9 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: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.02628/54, allocations: 3.839 MB / 9.263 GB, free: 183.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/54, allocations: 9.25 kB / 9.263 GB, free: 183.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002768/54, allocations: 0.5594 MB / 9.264 GB, free: 182.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007011/54.01, allocations: 0.7915 MB / 9.265 GB, free: 182.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/54.02, allocations: 3.458 MB / 9.268 GB, free: 179.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005199/54.02, allocations: 298 kB / 9.268 GB, free: 179.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004021/54.03, allocations: 384.8 kB / 9.269 GB, free: 179.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/54.05, allocations: 8.686 MB / 9.277 GB, free: 174.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/54.05, allocations: 6.938 kB / 9.277 GB, free: 174.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/54.06, allocations: 160 kB / 9.277 GB, free: 174.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/54.06, allocations: 96.84 kB / 9.277 GB, free: 174.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6084/54.66, allocations: 198.1 MB / 9.471 GB, free: 170.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03197/54.7, allocations: 15.92 MB / 9.486 GB, free: 154.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 1.03/55.73, allocations: 153.2 MB / 9.636 GB, free: 190.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01012/55.74, allocations: 5.635 MB / 9.641 GB, free: 185.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/55.74, allocations: 0.9987 MB / 9.642 GB, free: 184.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/55.74, allocations: 143.1 kB / 9.643 GB, free: 184.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1017): time 1.5e-05/55.74, allocations: 0.9375 kB / 9.643 GB, free: 184.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1017): time 0.06505/55.8, allocations: 34.37 MB / 9.676 GB, free: 150 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/55.8, allocations: 159.4 kB / 9.676 GB, free: 149.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/55.81, allocations: 221 kB / 9.677 GB, free: 149.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.003949/55.81, allocations: 185.7 kB / 9.677 GB, free: 149.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/55.81, allocations: 154.3 kB / 9.677 GB, free: 149.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.005879/55.82, allocations: 3.314 MB / 9.68 GB, free: 146 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01163/55.83, allocations: 2.263 MB / 9.682 GB, free: 143.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/55.83, allocations: 321.9 kB / 9.683 GB, free: 143.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/55.84, allocations: 4.876 MB / 9.687 GB, free: 138.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01346/55.85, allocations: 5.44 MB / 9.693 GB, free: 133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03048/55.88, allocations: 11.38 MB / 9.704 GB, free: 121.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-05/55.88, allocations: 0 / 9.704 GB, free: 121.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.06287/55.95, allocations: 38.31 MB / 9.741 GB, free: 83.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/55.95, allocations: 10.5 kB / 9.741 GB, free: 83.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/55.95, allocations: 0 / 9.741 GB, free: 83.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.273e-05/55.95, allocations: 32 kB / 9.741 GB, free: 83.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01384/55.96, allocations: 2.601 MB / 9.744 GB, free: 80.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001765/55.96, allocations: 38.75 kB / 9.744 GB, free: 80.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00744/55.97, allocations: 0.5213 MB / 9.744 GB, free: 80.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004436/55.97, allocations: 0.7605 MB / 9.745 GB, free: 79.34 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,spaceDomainNoiseZero.actualGlobalSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseZero.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 (1024): * Single equations (assignments): 1024 * 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.007748/55.98, allocations: 1.07 MB / 9.746 GB, free: 78.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008575/55.99, allocations: 0.7929 MB / 9.747 GB, free: 77.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2925/56.28, allocations: 33.93 MB / 9.78 GB, free: 214.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001382/56.28, allocations: 95.66 kB / 9.78 GB, free: 214.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.779e-05/56.28, allocations: 0.7812 kB / 9.78 GB, free: 214.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003416/56.28, allocations: 50.16 kB / 9.78 GB, free: 214.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/56.3, allocations: 5.696 MB / 9.786 GB, free: 213.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-05/56.3, allocations: 1.906 kB / 9.786 GB, free: 213.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01519/56.31, allocations: 2.583 MB / 9.788 GB, free: 213.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/56.31, allocations: 29.47 kB / 9.788 GB, free: 213.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0045/56.32, allocations: 0.7006 MB / 9.789 GB, free: 213 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001181/56.32, allocations: 31.91 kB / 9.789 GB, free: 213 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/56.32, allocations: 0 / 9.789 GB, free: 213 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07055/56.39, allocations: 37.51 MB / 9.826 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006328/56.4, allocations: 3.116 MB / 9.829 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003813/56.4, allocations: 160 kB / 9.829 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006561/56.41, allocations: 164.1 kB / 9.829 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004813/56.41, allocations: 0.9202 MB / 9.83 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004125/56.42, allocations: 0.7565 MB / 9.831 GB, free: 186.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000203/56.42, allocations: 164.5 kB / 9.831 GB, free: 186 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/56.42, allocations: 0 / 9.831 GB, free: 186 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01083/56.43, allocations: 1.418 MB / 9.832 GB, free: 184.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (position.y) * Number of discrete variables: 2 (spaceDomainNoiseMinimum.localSeed,spaceDomainNoiseZero.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1017): * Single equations (assignments): 1015 * 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.0746/56.5, allocations: 39 MB / 9.87 GB, free: 145.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02818/56.53, allocations: 12.53 MB / 9.882 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/56.53, allocations: 4.062 kB / 9.882 GB, free: 133.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/56.55, allocations: 6.918 MB / 9.889 GB, free: 126.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/56.55, allocations: 333.4 kB / 9.89 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3375/56.89, allocations: 82.6 MB / 9.97 GB, free: 210.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/56.89, allocations: 2.175 MB / 9.972 GB, free: 209.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.02362/56.92, allocations: 7.346 MB / 9.98 GB, free: 206.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008208/56.92, allocations: 2.361 MB / 9.982 GB, free: 206 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/56.92, allocations: 0 / 9.982 GB, free: 206 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1604/57.08, allocations: 113.8 MB / 10.09 GB, free: 108.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.63/80.72, allocations: 11.84 kB / 10.09 GB, free: 108.8 MB / 0.545 GB (rm -f AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_MinimumAndZeroPhase_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=0.001 AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_MinimumAndZeroPhase.fmu > AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.MinimumAndZeroPhase.pipe 2>&1)