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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001274, allocations: 108.1 kB / 17.06 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001314, allocations: 187.1 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001035, allocations: 43.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3778, allocations: 49.44 MB / 400.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002961/0.3808, allocations: 1.483 MB / 402.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.382, allocations: 0.5713 MB / 402.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.3821, allocations: 0 / 402.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3822, allocations: 7.875 kB / 402.8 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.3823, allocations: 23.8 kB / 402.8 MB, free: 6.926 MB / 318.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'. Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.3829, allocations: 147.5 kB / 402.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.383, allocations: 115.6 kB / 403.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.3831, allocations: 21.08 kB / 403.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.3832, allocations: 43.84 kB / 403.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005709/0.3837, allocations: 71.2 kB / 403.2 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3838, allocations: 11.98 kB / 403.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.384, allocations: 111.8 kB / 403.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.3841, allocations: 35.86 kB / 403.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.3842, allocations: 59.64 kB / 403.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.3845, allocations: 200.8 kB / 403.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3845, allocations: 0 / 403.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3845, allocations: 0 / 403.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3845, allocations: 0 / 403.6 MB, free: 6.133 MB / 318.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.0006876/0.3852, allocations: 454.7 kB / 404.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3852, allocations: 12.03 kB / 404.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.3856, allocations: 40.72 kB / 404.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3858, allocations: 196.1 kB / 404.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.3858, allocations: 8.125 kB / 404.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3858, allocations: 8 kB / 404.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3861, allocations: 111.3 kB / 404.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3861, allocations: 0 / 404.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3861, allocations: 4 kB / 404.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3861, allocations: 0 / 404.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3864, allocations: 59.95 kB / 404.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.387, allocations: 373.3 kB / 404.8 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.3874, allocations: 125.2 kB / 405 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3875, allocations: 53.91 kB / 405 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3875, allocations: 7.938 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.3878, allocations: 141 kB / 405.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3878, allocations: 0 / 405.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005349/0.3883, allocations: 233.7 kB / 405.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.3884, allocations: 97.08 kB / 405.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.3887, allocations: 178.4 kB / 405.7 MB, free: 3.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.3888, allocations: 41.69 kB / 405.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.3889, allocations: 112.5 kB / 405.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.3889, allocations: 31.56 kB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.389, allocations: 61.91 kB / 405.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3892, allocations: 338.7 kB / 406.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.3894, allocations: 96.47 kB / 406.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.3897, allocations: 145 kB / 406.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.39, allocations: 203.5 kB / 406.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.39, allocations: 0 / 406.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004844/0.3905, allocations: 293.4 kB / 407 MB, free: 2.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3905, allocations: 4 kB / 407 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3906, allocations: 0 / 407 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.3906, allocations: 4 kB / 407 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.3907, allocations: 31.91 kB / 407 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3908, allocations: 3.938 kB / 407 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.3908, allocations: 23.75 kB / 407 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3909, allocations: 4 kB / 407 MB, free: 2.434 MB / 318.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.0001541/0.391, allocations: 153.8 kB / 407.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.391, allocations: 11.81 kB / 407.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.3911, allocations: 17.39 kB / 407.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3911, allocations: 0 / 407.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.3911, allocations: 3.938 kB / 407.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3911, allocations: 4 kB / 407.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3914, allocations: 201.5 kB / 407.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3914, allocations: 0 / 407.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.3914, allocations: 11.98 kB / 407.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3914, allocations: 4 kB / 407.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3915, allocations: 4 kB / 407.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.3915, allocations: 11.94 kB / 407.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3915, allocations: 3.938 kB / 407.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.3918, allocations: 225 kB / 407.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.3919, allocations: 92.86 kB / 407.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.392, allocations: 11.98 kB / 407.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.392, allocations: 8 kB / 407.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.3921, allocations: 15.92 kB / 407.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3921, allocations: 3.984 kB / 407.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3922, allocations: 136.2 kB / 407.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3923, allocations: 0 / 407.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3925, allocations: 44 kB / 408 MB, free: 1.387 MB / 318.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.000506/0.3931, allocations: 206.6 kB / 408.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004289/0.3935, allocations: 187.8 kB / 408.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3935, allocations: 0 / 408.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.3937, allocations: 60.06 kB / 408.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.3938, allocations: 15.08 kB / 408.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.3943, allocations: 251.8 kB / 408.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3946, allocations: 0.7081 MB / 409.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.3947, allocations: 25.16 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.3947, allocations: 15.38 kB / 409.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3947, allocations: 0 / 409.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Templates: time 0.005414/0.4002, allocations: 1.975 MB / 411.4 MB, free: 13.92 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches