Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 110.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009304/0.0009305, allocations: 39.95 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2906, allocations: 49.44 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002531/0.2931, allocations: 1.568 MB / 401 MB, free: 31.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2942, allocations: 0.5926 MB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.2943, allocations: 0 / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.2945, allocations: 7.922 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.2945, allocations: 15.53 kB / 401.6 MB, free: 31.2 MB / 298.7 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.295, allocations: 115.8 kB / 401.8 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.2952, allocations: 107.7 kB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.2953, allocations: 17.05 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.2953, allocations: 47.77 kB / 401.9 MB, free: 30.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.2961, allocations: 77.72 kB / 402 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2962, allocations: 8 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.2964, allocations: 103.8 kB / 402.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.2965, allocations: 35.89 kB / 402.2 MB, free: 30.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.2965, allocations: 47.67 kB / 402.2 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.2968, allocations: 185 kB / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2968, allocations: 0 / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2968, allocations: 0 / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2968, allocations: 0 / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006543/0.2975, allocations: 454.8 kB / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2975, allocations: 8.031 kB / 402.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.2978, allocations: 44.72 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.298, allocations: 200 kB / 403.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.298, allocations: 4.375 kB / 403.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.298, allocations: 7.938 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2982, allocations: 107.4 kB / 403.2 MB, free: 29.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2982, allocations: 0 / 403.2 MB, free: 29.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2983, allocations: 7.984 kB / 403.2 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2983, allocations: 4 kB / 403.2 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2984, allocations: 55.91 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.299, allocations: 373.4 kB / 403.6 MB, free: 29.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.2993, allocations: 133.1 kB / 403.7 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.2994, allocations: 53.75 kB / 403.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2994, allocations: 0 / 403.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.2996, allocations: 145 kB / 403.9 MB, free: 28.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.2996, allocations: 4 kB / 403.9 MB, free: 28.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004251/0.3001, allocations: 237.5 kB / 404.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3001, allocations: 85.11 kB / 404.3 MB, free: 28.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3003, allocations: 191.1 kB / 404.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3003, allocations: 49.69 kB / 404.5 MB, free: 28.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.3004, allocations: 108.5 kB / 404.6 MB, free: 28.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3004, allocations: 43.53 kB / 404.6 MB, free: 27.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.3005, allocations: 53.94 kB / 404.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.3006, allocations: 334.8 kB / 405 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3007, allocations: 92.47 kB / 405.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.3009, allocations: 134.1 kB / 405.2 MB, free: 27.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.3012, allocations: 219.3 kB / 405.5 MB, free: 27.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3012, allocations: 0 / 405.5 MB, free: 27.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003707/0.3016, allocations: 297.3 kB / 405.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3016, allocations: 7.984 kB / 405.8 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3016, allocations: 0 / 405.8 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3016, allocations: 4 kB / 405.8 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3018, allocations: 27.92 kB / 405.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3018, allocations: 0 / 405.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.3019, allocations: 23.78 kB / 405.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3019, allocations: 4 kB / 405.8 MB, free: 26.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001082/0.302, allocations: 157.7 kB / 406 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.302, allocations: 15.8 kB / 406 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.302, allocations: 13.41 kB / 406 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3021, allocations: 0 / 406 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3021, allocations: 0 / 406 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3021, allocations: 7.938 kB / 406 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3022, allocations: 205.5 kB / 406.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3022, allocations: 0 / 406.2 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.3023, allocations: 19.92 kB / 406.2 MB, free: 26.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3023, allocations: 4 kB / 406.2 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3023, allocations: 0 / 406.2 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3023, allocations: 4 kB / 406.2 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3023, allocations: 0 / 406.2 MB, free: 26.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.3029, allocations: 0.8324 MB / 407.1 MB, free: 25.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.3029, allocations: 100.8 kB / 407.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3029, allocations: 12 kB / 407.2 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.303, allocations: 7.984 kB / 407.2 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.3031, allocations: 11.98 kB / 407.2 MB, free: 25.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3031, allocations: 4 kB / 407.2 MB, free: 25.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.3032, allocations: 119.2 kB / 407.3 MB, free: 25.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3032, allocations: 0 / 407.3 MB, free: 25.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.3036, allocations: 51.98 kB / 407.4 MB, free: 25.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004458/0.304, allocations: 198.5 kB / 407.6 MB, free: 24.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3044, allocations: 187.8 kB / 407.7 MB, free: 24.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3044, allocations: 4 kB / 407.7 MB, free: 24.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3045, allocations: 60 kB / 407.8 MB, free: 24.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.3047, allocations: 11.94 kB / 407.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.3053, allocations: 436.6 kB / 408.2 MB, free: 24.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.3055, allocations: 0.7238 MB / 409 MB, free: 23.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.3055, allocations: 16.86 kB / 409 MB, free: 23.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.3056, allocations: 19.44 kB / 409 MB, free: 23.38 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3056, allocations: 3.938 kB / 409 MB, free: 23.38 MB / 298.7 MB Notification: Performance of Templates: time 0.004598/0.3102, allocations: 1.914 MB / 410.9 MB, free: 21.46 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches