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.001206/0.001206, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.00124, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64.92 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 50.54 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003054/0.1275, allocations: 1.573 MB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1287, allocations: 0.5886 MB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.1288, allocations: 4 kB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.181e-05/0.129, allocations: 7.875 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.124e-05/0.129, allocations: 7.938 kB / 359.2 MB, free: 12.23 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.0005653/0.1296, allocations: 123.7 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1298, allocations: 119.6 kB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.1298, allocations: 9.109 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.664e-05/0.1299, allocations: 43.86 kB / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.1307, allocations: 71.59 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.1307, allocations: 15.94 kB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.131, allocations: 119.8 kB / 359.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.131, allocations: 31.86 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.1311, allocations: 59.64 kB / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1314, allocations: 191.8 kB / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1314, allocations: 4 kB / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1314, allocations: 0 / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1314, allocations: 0 / 359.9 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.0006246/0.132, allocations: 454.7 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1321, allocations: 12.03 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.1324, allocations: 40.75 kB / 360.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1326, allocations: 200.1 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1326, allocations: 8.359 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1327, allocations: 8.375 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1329, allocations: 111.5 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1329, allocations: 0 / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1329, allocations: 7.938 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1329, allocations: 0 / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1331, allocations: 55.95 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.1337, allocations: 369.5 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1341, allocations: 129.2 kB / 361.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1342, allocations: 53.69 kB / 361.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1342, allocations: 4 kB / 361.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.1345, allocations: 145.1 kB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1345, allocations: 0 / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000519/0.135, allocations: 233.4 kB / 361.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1351, allocations: 101.1 kB / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1353, allocations: 174.3 kB / 362 MB, free: 9.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1353, allocations: 45.69 kB / 362 MB, free: 9.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.1354, allocations: 104.5 kB / 362.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1355, allocations: 47.39 kB / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1356, allocations: 53.92 kB / 362.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1357, allocations: 334.8 kB / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1359, allocations: 100.5 kB / 362.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.1362, allocations: 128.4 kB / 362.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.1365, allocations: 211.4 kB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1365, allocations: 0 / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005305/0.1371, allocations: 297.3 kB / 363.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1371, allocations: 4 kB / 363.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1371, allocations: 0 / 363.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1371, allocations: 4 kB / 363.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1373, allocations: 27.92 kB / 363.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1373, allocations: 480 / 363.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.1374, allocations: 23.83 kB / 363.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1374, allocations: 7.938 kB / 363.3 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.0001573/0.1376, allocations: 162.9 kB / 363.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1376, allocations: 15.81 kB / 363.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.1377, allocations: 17.39 kB / 363.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1377, allocations: 0 / 363.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1377, allocations: 0 / 363.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1377, allocations: 0 / 363.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1379, allocations: 209.5 kB / 363.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1379, allocations: 4 kB / 363.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.138, allocations: 11.92 kB / 363.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.138, allocations: 4 kB / 363.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.138, allocations: 4 kB / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.138, allocations: 0 / 363.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.138, allocations: 4 kB / 363.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1384, allocations: 229.6 kB / 364 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.1385, allocations: 88.92 kB / 364.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.1386, allocations: 11.98 kB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1386, allocations: 8 kB / 364.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1387, allocations: 7.984 kB / 364.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1387, allocations: 4 kB / 364.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1388, allocations: 136.2 kB / 364.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1388, allocations: 0 / 364.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1392, allocations: 44 kB / 364.3 MB, free: 6.715 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.0005989/0.1398, allocations: 200.1 kB / 364.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.1403, allocations: 199.8 kB / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1403, allocations: 0 / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1405, allocations: 59.98 kB / 364.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.1407, allocations: 7.984 kB / 364.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.1413, allocations: 299.7 kB / 365 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1417, allocations: 0.7119 MB / 365.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.1418, allocations: 16.86 kB / 365.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1418, allocations: 15.44 kB / 365.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1418, allocations: 0 / 365.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of Templates: time 0.005509/0.1473, allocations: 1.918 MB / 367.7 MB, free: 3.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches