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.001336/0.001336, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001338, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 68.02 kB / 307.1 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09877, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002868/0.1017, allocations: 1.578 MB / 359.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1029, allocations: 0.5925 MB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.1029, allocations: 4 kB / 359.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.588e-05/0.1031, allocations: 3.938 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.1031, allocations: 15.88 kB / 359.9 MB, free: 12.17 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.0005629/0.1037, allocations: 127.7 kB / 360 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1038, allocations: 107.7 kB / 360.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.1039, allocations: 17.08 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.104, allocations: 39.86 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.1048, allocations: 73.52 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1048, allocations: 11.94 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.105, allocations: 111.8 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1051, allocations: 31.91 kB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.1052, allocations: 63.64 kB / 360.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1054, allocations: 140.1 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1054, allocations: 3.938 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1054, allocations: 0 / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1054, allocations: 0 / 360.6 MB, free: 11.46 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.0006797/0.1061, allocations: 454.7 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1062, allocations: 8.031 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.1065, allocations: 40.81 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1067, allocations: 204 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1067, allocations: 4.375 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1067, allocations: 8.375 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.107, allocations: 115.4 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.107, allocations: 0 / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.107, allocations: 0 / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.107, allocations: 3.938 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1072, allocations: 59.95 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.1078, allocations: 373.5 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.1082, allocations: 129.2 kB / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1083, allocations: 57.62 kB / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1083, allocations: 0 / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.1086, allocations: 143.7 kB / 362.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.1086, allocations: 0 / 362.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005386/0.1091, allocations: 241.4 kB / 362.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1092, allocations: 89.11 kB / 362.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1094, allocations: 174.3 kB / 362.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1094, allocations: 49.69 kB / 362.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.1095, allocations: 104.6 kB / 362.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.1096, allocations: 51.38 kB / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.1097, allocations: 49.94 kB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1098, allocations: 338.8 kB / 363.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.11, allocations: 92.47 kB / 363.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.1102, allocations: 128.4 kB / 363.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.1106, allocations: 215.4 kB / 363.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1106, allocations: 4 kB / 363.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004766/0.1111, allocations: 293.4 kB / 363.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1111, allocations: 4 kB / 363.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1111, allocations: 0 / 363.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1111, allocations: 4 kB / 363.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1113, allocations: 31.91 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1113, allocations: 480 / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.1114, allocations: 23.88 kB / 364 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1114, allocations: 4 kB / 364 MB, free: 7.754 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.0001527/0.1115, allocations: 158.8 kB / 364.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1116, allocations: 15.81 kB / 364.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.1116, allocations: 17.39 kB / 364.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1116, allocations: 0 / 364.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1116, allocations: 0 / 364.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1116, allocations: 0 / 364.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1119, allocations: 213.4 kB / 364.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1119, allocations: 0 / 364.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.1119, allocations: 7.984 kB / 364.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1119, allocations: 8 kB / 364.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1119, allocations: 0 / 364.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.112, allocations: 0 / 364.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.112, allocations: 4 kB / 364.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.1123, allocations: 225.6 kB / 364.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.1124, allocations: 92.86 kB / 364.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1124, allocations: 15.98 kB / 364.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.1125, allocations: 4 kB / 364.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.1126, allocations: 11.98 kB / 364.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1126, allocations: 7.984 kB / 364.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1127, allocations: 132.2 kB / 364.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1127, allocations: 0 / 364.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.113, allocations: 44 kB / 364.9 MB, free: 6.719 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.0004758/0.1135, allocations: 196.2 kB / 365.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.1139, allocations: 203.7 kB / 365.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1139, allocations: 0 / 365.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1141, allocations: 63.97 kB / 365.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.1143, allocations: 4 kB / 365.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.1148, allocations: 325.5 kB / 365.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1151, allocations: 0.708 MB / 366.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1152, allocations: 15.44 kB / 366.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1152, allocations: 0 / 366.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Templates: time 0.004541/0.1197, allocations: 2.306 MB / 368.7 MB, free: 2.867 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.1.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