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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 190.7 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.6 MB / 250.8 MB, free: 2.703 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.04102/0.04102, allocations: 3.941 MB / 310 MB, free: 3.133 MB / 238.1 MB " [Timeout remaining time 180] 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.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 0.002014/0.002014, allocations: 63.88 kB / 430.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 52.96 MB / 483.8 MB, free: 26.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002538/0.3577, allocations: 1.494 MB / 485.3 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3594, allocations: 1.087 MB / 486.4 MB, free: 25.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.3595, allocations: 0 / 486.4 MB, free: 25.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.3596, allocations: 20.95 kB / 486.4 MB, free: 25.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.3598, allocations: 18.39 kB / 486.5 MB, free: 25.04 MB / 366.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.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.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.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.3604, allocations: 187.5 kB / 486.6 MB, free: 24.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3606, allocations: 125.7 kB / 486.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.3607, allocations: 10.23 kB / 486.8 MB, free: 24.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.3608, allocations: 41.11 kB / 486.8 MB, free: 24.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.3608, allocations: 47.08 kB / 486.9 MB, free: 24.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3609, allocations: 6.156 kB / 486.9 MB, free: 24.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.3612, allocations: 216.2 kB / 487.1 MB, free: 24.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.3612, allocations: 18.48 kB / 487.1 MB, free: 24.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.3613, allocations: 36.61 kB / 487.1 MB, free: 24.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3616, allocations: 205.6 kB / 487.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3616, allocations: 0 / 487.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3616, allocations: 0 / 487.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3616, allocations: 0 / 487.3 MB, free: 24.66 MB / 366.1 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.0005121/0.3621, allocations: 364.8 kB / 487.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3621, allocations: 14.06 kB / 487.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3622, allocations: 38.62 kB / 487.7 MB, free: 24.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.3626, allocations: 54.66 kB / 487.8 MB, free: 24.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3628, allocations: 154.9 kB / 487.9 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3628, allocations: 3.438 kB / 487.9 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3628, allocations: 7.094 kB / 488 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.363, allocations: 91.61 kB / 488 MB, free: 24.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.363, allocations: 4 kB / 488 MB, free: 24.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.363, allocations: 0 / 488 MB, free: 24.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.363, allocations: 3.094 kB / 488 MB, free: 24.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3632, allocations: 51.66 kB / 488.1 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.3637, allocations: 328.8 kB / 488.4 MB, free: 23.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3639, allocations: 77.97 kB / 488.5 MB, free: 23.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.3639, allocations: 41.06 kB / 488.5 MB, free: 23.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.364, allocations: 8.141 kB / 488.5 MB, free: 23.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.364, allocations: 38.22 kB / 488.6 MB, free: 23.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.364, allocations: 0 / 488.6 MB, free: 23.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.3644, allocations: 151.4 kB / 488.7 MB, free: 23.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3645, allocations: 55.27 kB / 488.8 MB, free: 23.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3646, allocations: 153 kB / 488.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3646, allocations: 29.64 kB / 489 MB, free: 23.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.3646, allocations: 97.38 kB / 489.1 MB, free: 23.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3647, allocations: 24.98 kB / 489.1 MB, free: 23.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.3647, allocations: 34.88 kB / 489.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.3648, allocations: 318.7 kB / 489.4 MB, free: 22.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.3649, allocations: 38.39 kB / 489.5 MB, free: 22.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.365, allocations: 35.03 kB / 489.5 MB, free: 22.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3651, allocations: 83.64 kB / 489.6 MB, free: 22.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3651, allocations: 0 / 489.6 MB, free: 22.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002532/0.3654, allocations: 141.7 kB / 489.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3654, allocations: 5.125 kB / 489.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3654, allocations: 0 / 489.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3654, allocations: 3.547 kB / 489.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3655, allocations: 19.53 kB / 489.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3656, allocations: 8.828 kB / 489.8 MB, free: 22.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.3656, allocations: 7.328 kB / 489.8 MB, free: 22.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.3657, allocations: 30.36 kB / 489.8 MB, free: 22.75 MB / 366.1 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 8.81e-05/0.3657, allocations: 124.6 kB / 489.9 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3658, allocations: 7.688 kB / 489.9 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.3658, allocations: 14.11 kB / 489.9 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3658, allocations: 2.812 kB / 489.9 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3658, allocations: 7.938 kB / 489.9 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3659, allocations: 0.5156 kB / 489.9 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.366, allocations: 177.2 kB / 490.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3661, allocations: 0.8438 kB / 490.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.3661, allocations: 20.45 kB / 490.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3661, allocations: 0 / 490.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3662, allocations: 1.406 kB / 490.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3662, allocations: 0.6562 kB / 490.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3662, allocations: 7.062 kB / 490.1 MB, free: 22.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3664, allocations: 227.4 kB / 490.4 MB, free: 22.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.3665, allocations: 20.5 kB / 490.4 MB, free: 22.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3665, allocations: 0.5625 kB / 490.4 MB, free: 22.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.3666, allocations: 7 kB / 490.4 MB, free: 22.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.3666, allocations: 11.88 kB / 490.4 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.3667, allocations: 24.53 kB / 490.4 MB, free: 22.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.3667, allocations: 112.2 kB / 490.5 MB, free: 22.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 4 kB / 490.5 MB, free: 22.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.3671, allocations: 51.66 kB / 490.6 MB, free: 22.13 MB / 366.1 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.0009033/0.368, allocations: 0.8961 MB / 491.5 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3683, allocations: 78.27 kB / 491.6 MB, free: 21.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3683, allocations: 5.281 kB / 491.6 MB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3684, allocations: 43.19 kB / 491.6 MB, free: 21.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.3686, allocations: 11.95 kB / 491.6 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3702, allocations: 1.609 MB / 493.2 MB, free: 20.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.3704, allocations: 0.7026 MB / 493.9 MB, free: 19.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.51e-05/0.3705, allocations: 31.58 kB / 494 MB, free: 19.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.3706, allocations: 32.38 kB / 494 MB, free: 19.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3706, allocations: 0 / 494 MB, free: 19.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.4017, allocations: 3.685 MB / 497.7 MB, free: 18.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.48, allocations: 7.5 kB / 497.7 MB, free: 18.57 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.167286458890885] Failed to read output from testmodel.py, exit status != 0: 8.556962676811963 8.582314582 8.215867286 Calling exit ...