Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.0007687/0.0007687, 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.0007909/0.0007909, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.01442/0.01442, allocations: 3.144 MB / 262.3 MB, free: 10.27 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.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 385.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.808e-05, allocations: 6.281 kB / 385.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002036/0.002064, allocations: 1.477 MB / 387.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003488, allocations: 1.047 MB / 388.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.003546, allocations: 4 kB / 388.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.003673, allocations: 7.875 kB / 388.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.003862, allocations: 23.8 kB / 388.3 MB, free: 9.652 MB / 362.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.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.004405, allocations: 199.1 kB / 388.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004552, allocations: 119.7 kB / 388.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.004638, allocations: 4 kB / 388.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.004767, allocations: 71.81 kB / 388.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.004821, allocations: 31.89 kB / 388.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.00484, allocations: 11.94 kB / 388.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.005113, allocations: 203.5 kB / 388.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.00515, allocations: 15.92 kB / 388.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.005186, allocations: 27.91 kB / 389 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.005457, allocations: 235.3 kB / 389.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.00546, allocations: 0 / 389.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005461, allocations: 0 / 389.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005466, allocations: 0 / 389.2 MB, free: 8.75 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004881/0.005954, allocations: 353.5 kB / 389.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.006012, allocations: 8.031 kB / 389.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.006056, allocations: 38.75 kB / 389.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.006438, allocations: 52.77 kB / 389.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.006668, allocations: 153.1 kB / 389.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.006688, allocations: 8.359 kB / 389.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.006703, allocations: 8.375 kB / 389.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.006875, allocations: 85.89 kB / 389.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.006886, allocations: 3.984 kB / 389.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006897, allocations: 4 kB / 389.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006903, allocations: 0 / 389.9 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.007008, allocations: 59.95 kB / 390 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.007439, allocations: 323.7 kB / 390.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.007579, allocations: 78.58 kB / 390.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.007626, allocations: 36.83 kB / 390.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.007648, allocations: 0 / 390.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.007673, allocations: 34.56 kB / 390.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.007674, allocations: 4 kB / 390.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003023/0.007976, allocations: 141.6 kB / 390.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.008013, allocations: 63.33 kB / 390.6 MB, free: 7.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.008112, allocations: 146.4 kB / 390.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.008125, allocations: 29.7 kB / 390.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.008169, allocations: 103.9 kB / 390.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.00819, allocations: 31.88 kB / 390.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.008228, allocations: 29.69 kB / 391 MB, free: 6.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.008309, allocations: 322.8 kB / 391.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.008359, allocations: 39.97 kB / 391.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.008404, allocations: 31.98 kB / 391.3 MB, free: 6.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.00851, allocations: 88.98 kB / 391.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008512, allocations: 0 / 391.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001586/0.008671, allocations: 141.4 kB / 391.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.008684, allocations: 4 kB / 391.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008689, allocations: 0 / 391.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.008699, allocations: 8 kB / 391.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.008913, allocations: 19.92 kB / 391.6 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.008918, allocations: 4 kB / 391.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.008943, allocations: 4 kB / 391.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.008979, allocations: 23.95 kB / 391.6 MB, free: 6.117 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.524e-05/0.009054, allocations: 125.8 kB / 391.8 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.009077, allocations: 11.95 kB / 391.8 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.009116, allocations: 16.78 kB / 391.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009118, allocations: 0 / 391.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.009122, allocations: 0 / 391.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009126, allocations: 7.938 kB / 391.8 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.009272, allocations: 168.6 kB / 392 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009273, allocations: 0 / 392 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.009311, allocations: 15.98 kB / 392 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.009313, allocations: 0 / 392 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.009322, allocations: 7.984 kB / 392 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.009323, allocations: 0 / 392 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009324, allocations: 0 / 392 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.009502, allocations: 223.3 kB / 392.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.00954, allocations: 31.88 kB / 392.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.009552, allocations: 7.938 kB / 392.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.009587, allocations: 0 / 392.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.009629, allocations: 15.97 kB / 392.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.009657, allocations: 31.89 kB / 392.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.009717, allocations: 110.4 kB / 392.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009717, allocations: 0 / 392.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.009944, allocations: 59.81 kB / 392.4 MB, free: 5.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007921/0.01074, allocations: 0.9011 MB / 393.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.01091, allocations: 87.89 kB / 393.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01092, allocations: 0 / 393.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.01098, allocations: 43.91 kB / 393.5 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.01117, allocations: 15.22 kB / 393.5 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.01242, allocations: 1.617 MB / 395.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.415e-05/0.01247, allocations: 85.45 kB / 395.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.01253, allocations: 32.78 kB / 395.2 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.01258, allocations: 32.48 kB / 395.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01258, allocations: 0 / 395.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.02988, allocations: 4.367 MB / 399.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.698, allocations: 2.922 kB / 399.6 MB, free: 14.05 MB / 378.7 MB " [Timeout remaining time 653] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.417628862895072] Failed to read output from testmodel.py, exit status != 0: 6.78266166895628 6.790000249 6.782875885 Calling exit ...