Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.00168, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00204/0.00204, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 64.19 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002833/0.1061, allocations: 1.495 MB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1072, allocations: 0.5823 MB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.1073, allocations: 0 / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.698e-05/0.1074, allocations: 7.875 kB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.1075, allocations: 15.81 kB / 360.5 MB, free: 11.84 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.000519/0.108, allocations: 143.6 kB / 360.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1081, allocations: 111.7 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.1082, allocations: 5.125 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.1083, allocations: 47.83 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005818/0.1088, allocations: 83.45 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1089, allocations: 11.94 kB / 360.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.1091, allocations: 107.9 kB / 361 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.1092, allocations: 35.84 kB / 361.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.1092, allocations: 59.66 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1096, allocations: 187.8 kB / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1096, allocations: 0 / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1096, allocations: 0 / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1096, allocations: 0 / 361.3 MB, free: 11.07 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.0006807/0.1103, allocations: 470.7 kB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1103, allocations: 8.031 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.1106, allocations: 36.81 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1108, allocations: 196 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1108, allocations: 12.36 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1109, allocations: 8.359 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1111, allocations: 115.5 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.1111, allocations: 7.938 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1111, allocations: 0 / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1112, allocations: 0 / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.1113, allocations: 59.89 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.112, allocations: 369.5 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1123, allocations: 129.1 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1124, allocations: 53.77 kB / 362.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.1125, allocations: 7.984 kB / 362.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.1127, allocations: 137.2 kB / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 3.637e-06/0.1128, allocations: 0 / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000515/0.1133, allocations: 237.4 kB / 363.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.1134, allocations: 93.03 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1135, allocations: 174.3 kB / 363.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.1136, allocations: 45.7 kB / 363.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.1137, allocations: 112.5 kB / 363.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.1137, allocations: 47.39 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.1138, allocations: 53.92 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.114, allocations: 330.8 kB / 363.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1142, allocations: 100.5 kB / 364 MB, free: 8.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1144, allocations: 129.2 kB / 364.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.1148, allocations: 214.8 kB / 364.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1148, allocations: 4 kB / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000484/0.1153, allocations: 285.3 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1153, allocations: 4 kB / 364.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1153, allocations: 4 kB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1153, allocations: 0 / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1155, allocations: 27.98 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.1155, allocations: 7.938 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.1156, allocations: 19.83 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1156, allocations: 16.06 kB / 364.7 MB, free: 7.34 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.0001437/0.1158, allocations: 149.8 kB / 364.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1158, allocations: 15.81 kB / 364.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.1158, allocations: 9.406 kB / 364.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1158, allocations: 4 kB / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1158, allocations: 3.984 kB / 364.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1159, allocations: 0 / 364.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1161, allocations: 209.5 kB / 365.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1161, allocations: 7.938 kB / 365.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.1161, allocations: 11.92 kB / 365.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1162, allocations: 0 / 365.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1162, allocations: 4 kB / 365.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1162, allocations: 0 / 365.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1162, allocations: 3.938 kB / 365.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.1166, allocations: 222.2 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.1166, allocations: 92.92 kB / 365.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1167, allocations: 11.98 kB / 365.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.1167, allocations: 4 kB / 365.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.1168, allocations: 15.92 kB / 365.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.1168, allocations: 4 kB / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1169, allocations: 128.2 kB / 365.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1169, allocations: 0 / 365.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1172, allocations: 52 kB / 365.7 MB, free: 6.312 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.0004505/0.1177, allocations: 210.5 kB / 365.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.1181, allocations: 191.8 kB / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1181, allocations: 0 / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1182, allocations: 63.91 kB / 366.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1184, allocations: 11.98 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.1189, allocations: 285.5 kB / 366.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1192, allocations: 0.7119 MB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1193, allocations: 15.42 kB / 367.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1193, allocations: 0 / 367.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of Templates: time 0.004459/0.1237, allocations: 2.31 MB / 369.4 MB, free: 2.488 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches