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.0009096/0.0009096, allocations: 92.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.7 MB / 246.8 MB, free: 9.742 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 4 kB / 307.7 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 51.51 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00199/0.1228, allocations: 1.238 MB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1246, allocations: 0.5848 MB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.1247, allocations: 8 kB / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1249, allocations: 3.938 kB / 361.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.125, allocations: 15.86 kB / 361.1 MB, free: 11.22 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.0007551/0.1257, allocations: 123.7 kB / 361.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1259, allocations: 103.7 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.126, allocations: 5.125 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1261, allocations: 43.83 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/0.1271, allocations: 72.42 kB / 361.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.1271, allocations: 8 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.1275, allocations: 99.84 kB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.1276, allocations: 35.83 kB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1277, allocations: 73.38 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.1281, allocations: 191.7 kB / 361.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1281, allocations: 0 / 361.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1281, allocations: 0 / 361.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1281, allocations: 0 / 361.9 MB, free: 10.47 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.0007208/0.1289, allocations: 442.8 kB / 362.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1289, allocations: 8.031 kB / 362.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.1293, allocations: 36.81 kB / 362.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1295, allocations: 200.1 kB / 362.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1295, allocations: 4.375 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1296, allocations: 12.36 kB / 362.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.1298, allocations: 123.4 kB / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1299, allocations: 0 / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1299, allocations: 4 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1299, allocations: 0 / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1301, allocations: 59.95 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.1308, allocations: 385.4 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.1312, allocations: 141.1 kB / 363.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1313, allocations: 65.75 kB / 363.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1314, allocations: 3.938 kB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.1316, allocations: 137.1 kB / 363.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1317, allocations: 0 / 363.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005746/0.1322, allocations: 249.5 kB / 363.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.1323, allocations: 93.09 kB / 363.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1325, allocations: 178.3 kB / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.1326, allocations: 45.69 kB / 364 MB, free: 8.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1327, allocations: 100.6 kB / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.1327, allocations: 51.38 kB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.1328, allocations: 37.69 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1329, allocations: 334.7 kB / 364.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1331, allocations: 100.5 kB / 364.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1333, allocations: 144.3 kB / 364.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.1337, allocations: 223.4 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1337, allocations: 0 / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005024/0.1342, allocations: 289.3 kB / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1343, allocations: 7.938 kB / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1343, allocations: 0 / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1343, allocations: 4 kB / 365.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1345, allocations: 31.98 kB / 365.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1345, allocations: 4 kB / 365.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.1346, allocations: 19.84 kB / 365.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1346, allocations: 15.98 kB / 365.3 MB, free: 6.711 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.0001363/0.1347, allocations: 154.7 kB / 365.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1348, allocations: 15.81 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.1348, allocations: 13.41 kB / 365.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1348, allocations: 0 / 365.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1349, allocations: 0 / 365.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1349, allocations: 4 kB / 365.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1351, allocations: 213.4 kB / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1351, allocations: 0 / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.1351, allocations: 12 kB / 365.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1351, allocations: 0 / 365.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1352, allocations: 7.984 kB / 365.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1352, allocations: 7.938 kB / 365.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1352, allocations: 0 / 365.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.1356, allocations: 235.9 kB / 366 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1356, allocations: 93.02 kB / 366.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.1357, allocations: 12 kB / 366.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.1357, allocations: 11.97 kB / 366.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1358, allocations: 7.984 kB / 366.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1358, allocations: 4 kB / 366.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1359, allocations: 132.2 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1359, allocations: 4 kB / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1362, allocations: 39.98 kB / 366.3 MB, free: 5.668 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.0004402/0.1367, allocations: 201.7 kB / 366.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.1371, allocations: 203.8 kB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1371, allocations: 0 / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1373, allocations: 63.97 kB / 366.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.1375, allocations: 8 kB / 366.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.138, allocations: 291 kB / 367 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1383, allocations: 0.7199 MB / 367.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.1383, allocations: 12.88 kB / 367.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.1384, allocations: 15.44 kB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1384, allocations: 0 / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of Templates: time 0.005045/0.1434, allocations: 1.822 MB / 369.6 MB, free: 2.305 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