Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00201/0.00201, allocations: 111.6 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002624/0.002624, allocations: 216.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.646/2.646, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 68.06 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4586, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.009389/0.4681, allocations: 1.489 MB / 411.4 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.4705, allocations: 0.5715 MB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4707, allocations: 4 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.4709, allocations: 7.875 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.4711, allocations: 15.81 kB / 412 MB, free: 15.52 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001123/0.4723, allocations: 143.6 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.4726, allocations: 111.7 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.4727, allocations: 9.109 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4728, allocations: 55.77 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.4739, allocations: 78.08 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.474, allocations: 8 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.4744, allocations: 103.9 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.4745, allocations: 43.77 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.4746, allocations: 51.67 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.4753, allocations: 199.1 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4753, allocations: 0 / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4753, allocations: 4 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4753, allocations: 0 / 412.8 MB, free: 14.73 MB / 334.1 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.00142/0.4768, allocations: 456.3 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.4768, allocations: 8.031 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.4775, allocations: 40.72 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4778, allocations: 200.1 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.4779, allocations: 8.359 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.4779, allocations: 8.375 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.4783, allocations: 122.6 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4784, allocations: 3.984 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.4784, allocations: 0 / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4784, allocations: 0 / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.4788, allocations: 59.91 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.4799, allocations: 373.4 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.4806, allocations: 125.1 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.4809, allocations: 61.75 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4809, allocations: 0 / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005743/0.4815, allocations: 141 kB / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 3.436e-06/0.4815, allocations: 0 / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00104/0.4826, allocations: 233.6 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4827, allocations: 93.05 kB / 414.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.483, allocations: 174.3 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.4831, allocations: 49.69 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4833, allocations: 104.5 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.4834, allocations: 43.48 kB / 415.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.4836, allocations: 53.94 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4838, allocations: 338.8 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.4842, allocations: 92.47 kB / 415.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.4846, allocations: 136.4 kB / 415.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.4853, allocations: 214.9 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4854, allocations: 0 / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009449/0.4863, allocations: 285.2 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.4864, allocations: 14.33 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4864, allocations: 0 / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4864, allocations: 0 / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.4867, allocations: 35.86 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.4908, allocations: 4 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.4911, allocations: 23.89 kB / 416.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.4912, allocations: 11.98 kB / 416.2 MB, free: 11.02 MB / 334.1 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.0003272/0.4916, allocations: 145.8 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.4917, allocations: 19.8 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.4918, allocations: 17.34 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4918, allocations: 4 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4918, allocations: 0 / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4918, allocations: 4 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.4922, allocations: 213.5 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4922, allocations: 3.984 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4924, allocations: 4 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.4924, allocations: 7.938 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.4924, allocations: 0 / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4924, allocations: 0 / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.4925, allocations: 3.984 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.4932, allocations: 217.7 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4933, allocations: 96.84 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.4934, allocations: 15.94 kB / 417 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4935, allocations: 7.984 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4937, allocations: 7.984 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4937, allocations: 8 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.4939, allocations: 136.2 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4939, allocations: 0 / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005786/0.4945, allocations: 51.98 kB / 417.2 MB, free: 9.965 MB / 334.1 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.0008894/0.4954, allocations: 190.5 kB / 417.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008426/0.4963, allocations: 203.1 kB / 417.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4963, allocations: 0 / 417.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.4966, allocations: 59.91 kB / 417.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.497, allocations: 11.94 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.4979, allocations: 277.8 kB / 417.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.4985, allocations: 0.708 MB / 418.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.4986, allocations: 19.44 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4986, allocations: 0 / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of Templates: time 0.008792/0.5074, allocations: 2.341 MB / 421 MB, free: 6.129 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches