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.00152/0.00152, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001695/0.001695, allocations: 192 kB / 18.62 MB, free: 4.41 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.325/1.325, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 56.48 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09877, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002647/0.1015, allocations: 1.468 MB / 353 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1026, allocations: 0.5821 MB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1027, allocations: 0 / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1028, allocations: 7.875 kB / 353.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.1029, allocations: 19.8 kB / 353.6 MB, free: 1.605 MB / 286.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.0005912/0.1035, allocations: 143.6 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.1036, allocations: 115.6 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.1037, allocations: 9.125 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.1037, allocations: 47.83 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.1043, allocations: 69.34 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1043, allocations: 16 kB / 354 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.1046, allocations: 111.8 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.1046, allocations: 31.86 kB / 354.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.1047, allocations: 55.66 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.105, allocations: 203.4 kB / 354.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.105, allocations: 0 / 354.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.105, allocations: 0 / 354.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.105, allocations: 0 / 354.4 MB, free: 0.8203 MB / 286.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.0006506/0.1057, allocations: 454.8 kB / 354.8 MB, free: 336 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1057, allocations: 19.83 kB / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.1061, allocations: 32.81 kB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1062, allocations: 204.1 kB / 355.1 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1063, allocations: 4.375 kB / 355.1 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1063, allocations: 15.92 kB / 355.1 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1065, allocations: 112.1 kB / 355.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1065, allocations: 8 kB / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1066, allocations: 0 / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1066, allocations: 0 / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.1067, allocations: 59.94 kB / 355.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.1074, allocations: 373.5 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1077, allocations: 125.1 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1078, allocations: 53.77 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1078, allocations: 11.98 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1081, allocations: 137 kB / 355.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1081, allocations: 0 / 355.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004884/0.1086, allocations: 233.5 kB / 356.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1086, allocations: 101 kB / 356.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1088, allocations: 178.1 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.1089, allocations: 41.7 kB / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.1089, allocations: 104.6 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.109, allocations: 51.38 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.1091, allocations: 53.92 kB / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1092, allocations: 330.8 kB / 357 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1094, allocations: 112.4 kB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.1096, allocations: 128.7 kB / 357.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.11, allocations: 211.4 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.11, allocations: 0 / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00048/0.1105, allocations: 289.3 kB / 357.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1105, allocations: 4 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1105, allocations: 4 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1106, allocations: 0 / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1107, allocations: 27.92 kB / 357.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1108, allocations: 4 kB / 357.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.1108, allocations: 23.77 kB / 357.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.1109, allocations: 12.06 kB / 357.8 MB, free: 13.09 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.0001435/0.111, allocations: 149.7 kB / 357.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1111, allocations: 11.81 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.1111, allocations: 13.41 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1111, allocations: 0 / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1111, allocations: 7.984 kB / 358 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1111, allocations: 3.938 kB / 358 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1114, allocations: 209.5 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1114, allocations: 4 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1115, allocations: 12.08 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1115, allocations: 3.984 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1115, allocations: 4 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1115, allocations: 0 / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1115, allocations: 3.938 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1119, allocations: 230.6 kB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1119, allocations: 88.92 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.112, allocations: 11.98 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.112, allocations: 4 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.1121, allocations: 15.92 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.1121, allocations: 4 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1122, allocations: 132.2 kB / 358.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1122, allocations: 0 / 358.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.1125, allocations: 44 kB / 358.7 MB, free: 12.06 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.0004773/0.113, allocations: 207.6 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1134, allocations: 191.8 kB / 359.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1134, allocations: 3.938 kB / 359.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1136, allocations: 59.97 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.1138, allocations: 8 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1144, allocations: 259.8 kB / 359.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1147, allocations: 0.7081 MB / 360.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.1147, allocations: 16.88 kB / 360.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.1148, allocations: 19.42 kB / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1148, allocations: 0 / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Templates: time 0.00557/0.1204, allocations: 1.949 MB / 362.1 MB, free: 8.617 MB / 302.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 -s gbode -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/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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches