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.0009584/0.0009584, allocations: 96.83 kB / 16.3 MB, free: 5.535 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.001003/0.001003, allocations: 179.5 kB / 17.2 MB, free: 5.469 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.333/1.333, allocations: 223.2 MB / 241.1 MB, free: 14.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 11.94 kB / 300.7 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1106, allocations: 50.41 MB / 351.1 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001738/0.1124, allocations: 1.206 MB / 352.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1137, allocations: 0.5583 MB / 352.9 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.1138, allocations: 0 / 352.9 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1139, allocations: 7.938 kB / 352.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.114, allocations: 23.89 kB / 352.9 MB, free: 2.004 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.0005735/0.1146, allocations: 111.7 kB / 353 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1147, allocations: 67.86 kB / 353.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.1148, allocations: 5.125 kB / 353.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.304e-05/0.1149, allocations: 51.83 kB / 353.2 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1151, allocations: 55.75 kB / 353.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1151, allocations: 4 kB / 353.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.1153, allocations: 83.8 kB / 353.3 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.1153, allocations: 19.92 kB / 353.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.1154, allocations: 49.62 kB / 353.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1156, allocations: 128 kB / 353.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1156, allocations: 0 / 353.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1156, allocations: 0 / 353.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1157, allocations: 0 / 353.5 MB, free: 1.43 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.0007227/0.1164, allocations: 450.6 kB / 353.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1164, allocations: 8.031 kB / 353.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.1168, allocations: 35.88 kB / 354 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.117, allocations: 194.8 kB / 354.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.117, allocations: 8 kB / 354.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1171, allocations: 15.92 kB / 354.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.1173, allocations: 119.3 kB / 354.3 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1173, allocations: 3.984 kB / 354.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1173, allocations: 0 / 354.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1174, allocations: 7.953 kB / 354.3 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1175, allocations: 63.97 kB / 354.4 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.1182, allocations: 373.4 kB / 354.7 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.1185, allocations: 145.1 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1186, allocations: 0 / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.1189, allocations: 145.1 kB / 355 MB, free: 15.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1189, allocations: 0 / 355 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000687/0.1196, allocations: 416.3 kB / 355.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.1197, allocations: 89.09 kB / 355.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1199, allocations: 178.3 kB / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.12, allocations: 41.7 kB / 355.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.1201, allocations: 112.5 kB / 355.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.1201, allocations: 47.39 kB / 355.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.1202, allocations: 4 kB / 355.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1203, allocations: 330.8 kB / 356.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.1205, allocations: 100.5 kB / 356.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1208, allocations: 137.3 kB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.121, allocations: 108.5 kB / 356.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.121, allocations: 0 / 356.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004931/0.1215, allocations: 297.3 kB / 356.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1215, allocations: 11.94 kB / 356.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1215, allocations: 7.938 kB / 356.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1215, allocations: 4 kB / 356.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1217, allocations: 31.92 kB / 356.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1217, allocations: 3.938 kB / 356.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.1218, allocations: 27.95 kB / 356.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1218, allocations: 4 kB / 356.9 MB, free: 13.68 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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.122, allocations: 149.7 kB / 357.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.122, allocations: 15.81 kB / 357.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.1221, allocations: 9.406 kB / 357.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1221, allocations: 8.047 kB / 357.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1221, allocations: 0 / 357.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1221, allocations: 7.984 kB / 357.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1223, allocations: 213.5 kB / 357.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1223, allocations: 0 / 357.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.1224, allocations: 8 kB / 357.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1224, allocations: 0 / 357.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1224, allocations: 3.984 kB / 357.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1224, allocations: 4 kB / 357.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1224, allocations: 3.953 kB / 357.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.1228, allocations: 235.4 kB / 357.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1229, allocations: 92.92 kB / 357.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1229, allocations: 8 kB / 357.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.123, allocations: 15.94 kB / 357.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.1231, allocations: 15.98 kB / 357.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1231, allocations: 4 kB / 357.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.942e-05/0.1232, allocations: 123.2 kB / 357.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1232, allocations: 0 / 357.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1235, allocations: 48 kB / 357.9 MB, free: 12.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/0.1239, allocations: 207.9 kB / 358.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.1243, allocations: 187.9 kB / 358.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1244, allocations: 0 / 358.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1245, allocations: 71.89 kB / 358.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.1246, allocations: 8 kB / 358.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1251, allocations: 271.1 kB / 358.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1254, allocations: 0.716 MB / 359.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.702e-05/0.1255, allocations: 20.94 kB / 359.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.1255, allocations: 15.44 kB / 359.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1255, allocations: 0 / 359.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Templates: time 0.005139/0.1307, allocations: 1.789 MB / 361.2 MB, free: 9.328 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 -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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches