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.0007958/0.0007959, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009485/0.0009485, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.5 MB, free: 9.508 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 4 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1087, allocations: 51.53 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001711/0.1105, allocations: 1.227 MB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1116, allocations: 0.5926 MB / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.1117, allocations: 4 kB / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.259e-05/0.1118, allocations: 3.938 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.1119, allocations: 19.86 kB / 361.8 MB, free: 11.2 MB / 302.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.000548/0.1124, allocations: 119.8 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1126, allocations: 103.7 kB / 362 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.1126, allocations: 5.125 kB / 362 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.1127, allocations: 47.77 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007621/0.1135, allocations: 66.72 kB / 362.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.1135, allocations: 4 kB / 362.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1138, allocations: 103.8 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.1139, allocations: 31.89 kB / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/0.114, allocations: 77.38 kB / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1142, allocations: 140 kB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1142, allocations: 4 kB / 362.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1142, allocations: 0 / 362.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1142, allocations: 0 / 362.5 MB, free: 10.5 MB / 302.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.0006912/0.1149, allocations: 434.8 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.115, allocations: 12.03 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.1154, allocations: 40.81 kB / 362.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1156, allocations: 196 kB / 363.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1156, allocations: 8.359 kB / 363.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1156, allocations: 12.36 kB / 363.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1159, allocations: 119 kB / 363.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1159, allocations: 4 kB / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1159, allocations: 0 / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1159, allocations: 0 / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.1161, allocations: 75.81 kB / 363.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.1169, allocations: 377.5 kB / 363.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.1172, allocations: 145.2 kB / 363.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1174, allocations: 57.69 kB / 363.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1174, allocations: 4 kB / 363.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1177, allocations: 141 kB / 364 MB, free: 8.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.1177, allocations: 0 / 364 MB, free: 8.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005357/0.1182, allocations: 253.5 kB / 364.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.1183, allocations: 89.09 kB / 364.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1185, allocations: 174.3 kB / 364.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.1186, allocations: 45.7 kB / 364.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.1186, allocations: 112.5 kB / 364.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.1187, allocations: 51.39 kB / 364.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.1188, allocations: 37.69 kB / 364.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1189, allocations: 330.8 kB / 365.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.1191, allocations: 100.5 kB / 365.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1193, allocations: 132.4 kB / 365.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.1197, allocations: 219.4 kB / 365.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1197, allocations: 3.938 kB / 365.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005013/0.1202, allocations: 297.3 kB / 365.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1202, allocations: 8 kB / 365.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1202, allocations: 0 / 365.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1203, allocations: 0 / 365.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1204, allocations: 27.98 kB / 365.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1204, allocations: 4.062 kB / 365.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.1205, allocations: 23.78 kB / 365.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.1206, allocations: 11.98 kB / 365.9 MB, free: 6.746 MB / 302.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.0001558/0.1207, allocations: 158.7 kB / 366.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1208, allocations: 15.81 kB / 366.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1208, allocations: 9.406 kB / 366.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1208, allocations: 8 kB / 366.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.1208, allocations: 0 / 366.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1208, allocations: 0 / 366.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.121, allocations: 213.4 kB / 366.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.121, allocations: 4 kB / 366.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.1211, allocations: 12.03 kB / 366.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.1211, allocations: 3.984 kB / 366.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1211, allocations: 0 / 366.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1211, allocations: 7.984 kB / 366.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1212, allocations: 0 / 366.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.1215, allocations: 226.2 kB / 366.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1216, allocations: 92.91 kB / 366.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1216, allocations: 11.94 kB / 366.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.1217, allocations: 11.98 kB / 366.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.1217, allocations: 15.98 kB / 366.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1218, allocations: 4 kB / 366.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1219, allocations: 128.2 kB / 366.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1219, allocations: 3.938 kB / 366.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1222, allocations: 51.98 kB / 366.9 MB, free: 5.691 MB / 302.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.000464/0.1226, allocations: 195.8 kB / 367.1 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.1231, allocations: 203.8 kB / 367.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1231, allocations: 0 / 367.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1232, allocations: 71.84 kB / 367.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.1234, allocations: 4 kB / 367.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.1239, allocations: 312.8 kB / 367.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1243, allocations: 0.72 MB / 368.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.1243, allocations: 11.44 kB / 368.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1243, allocations: 0 / 368.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of Templates: time 0.00467/0.129, allocations: 2.283 MB / 370.7 MB, free: 1.863 MB / 302.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