Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004595/0.0004595, allocations: 0 / 0, free: 0 / 0 " [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.0004201/0.0004201, allocations: 0 / 0, free: 0 / 0 " [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.3382/0.3382, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.007832/0.007832, allocations: 0 / 0, free: 0 / 0 " [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.SpaceAndTimeDomain,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_SpaceAndTimeDomain",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_SpaceAndTimeDomain",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.684e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain): time 0.004561/0.004578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01142/0.016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.01635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.0167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.01702, allocations: 0 / 0, free: 0 / 0 [/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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.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.SpaceAndTimeDomain.spaceDomainNoiseMinimum.initialState' contains a call to impure function 'AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain.spaceDomainNoiseMinimum.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.02054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.009285/0.02983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.02997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00704/0.03701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.006158/0.04317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001062/0.04423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 8.185/8.23, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.003582/8.233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.003035/8.236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01055/8.247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.00049/8.247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.655e-06/8.247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.626e-05/8.247, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.01652/8.264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001183/8.264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002726/8.267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00974/8.276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/8.287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/8.287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/8.289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/8.31, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/8.31, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/8.312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.225e-05/8.312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5225/8.834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03654/8.871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.6411/9.512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.01131/9.523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.002973/9.526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01701/9.543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=423): time 0.0005569/9.544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=423): time 0.06959/9.613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000333/9.614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/9.615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001979/9.617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002611/9.617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.003057/9.62, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.005612/9.626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002522/9.626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.01095/9.637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/9.651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.02932/9.68, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.845e-05/9.68, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=439) (initialization): time 0.06586/9.746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/9.746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/9.746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-05/9.746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009547/9.756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.008e-05/9.756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/9.758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/9.761, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,globalSeed.seed,bandLimitedWhiteNoise.actualGlobalSeed,bandLimitedWhiteNoise.localSeed,spaceDomainNoiseMinimum.actualGlobalSeed,globalSeed.id_impure,spaceDomainNoiseMinimum.localSeed,bandLimitedWhiteNoise.r_raw,$PRE.bandLimitedWhiteNoise.r_raw,bandLimitedWhiteNoise.r,$PRE.bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.state[4],$PRE.bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.state[3],$PRE.bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[2],$PRE.bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[1],$PRE.bandLimitedWhiteNoise.state[1],position.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 435 * Array equations: 1 * 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.005357/9.766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008848/9.775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06604/9.841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.967e-05/9.841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.605e-05/9.841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.88e-05/9.841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/9.852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-05/9.852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008989/9.861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.301e-05/9.861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001996/9.863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.661e-05/9.863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/9.863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0739/9.937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.007047/9.944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00169/9.946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/9.948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005269/9.953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002471/9.956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001412/9.957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.312e-05/9.957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.009245/9.967, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (position.y,timeDomainFilter.x_scaled[1],timeDomainFilter.x_scaled[2]) * Number of discrete variables: 8 (spaceDomainNoiseMinimum.localSeed,$whenCondition1,bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4],bandLimitedWhiteNoise.r,bandLimitedWhiteNoise.r_raw) * Number of discrete states: 4 (bandLimitedWhiteNoise.state[1],bandLimitedWhiteNoise.state[2],bandLimitedWhiteNoise.state[3],bandLimitedWhiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.08086/10.05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.02961/10.08, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.058e-05/10.08, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.01674/10.09, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/10.1, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1555/10.26, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/10.26, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.02067/10.28, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01367/10.29, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001932/10.3, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.008003/10.3, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.02218/10.33, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.1772/10.5, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 2.651e-05/10.5, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.428e-05/10.5, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.3 MB unzipped): time 0.0007203/10.5, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 649] simulate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,startTime=0,stopTime=5,tolerance=0.001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=5 -tolerance=0.001 -stepSize=0.01 -noemit",resimulateExecutable="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_SpaceAndTimeDomain.fmu") [Timeout 240] "" [Timeout remaining time 232] simulate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,startTime=0,stopTime=5,tolerance=0.001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=5 -tolerance=0.001 -stepSize=0.01 -noemit -s fmi3:me:daskr",resimulateExecutable="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_SpaceAndTimeDomain.fmu") [Timeout 240] "" [Timeout remaining time 236] simulate(AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain,startTime=0,stopTime=5,tolerance=0.001,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.RailIrregularities.Comparisons.SpaceAndTimeDomain",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=5 -tolerance=0.001 -stepSize=0.01 -noemit -s fmi3:cs",resimulateExecutable="AdvancedNoise_AdvancedNoise_Examples_RailIrregularities_Comparisons_SpaceAndTimeDomain.fmu") [Timeout 240] "" [Timeout remaining time 236] [Calling sys.exit(0), Time elapsed: 27.57863455999177]