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.001582/0.001582, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 64.36 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1064, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002706/0.1092, allocations: 1.484 MB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1103, allocations: 0.5668 MB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.1104, allocations: 0 / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.1105, allocations: 11.88 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.1106, allocations: 19.8 kB / 361 MB, free: 11.27 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.0005801/0.1111, allocations: 147.5 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1113, allocations: 111.7 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.1114, allocations: 13.11 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.1114, allocations: 51.77 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.112, allocations: 81.73 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1121, allocations: 12 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1123, allocations: 111.8 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.1124, allocations: 23.92 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.1125, allocations: 63.64 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1128, allocations: 199.4 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1128, allocations: 0 / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1128, allocations: 0 / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1128, allocations: 0 / 361.8 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.0006855/0.1135, allocations: 458.7 kB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1135, allocations: 8.031 kB / 362.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.1139, allocations: 40.81 kB / 362.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.114, allocations: 188.1 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1141, allocations: 16.36 kB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1141, allocations: 4.375 kB / 362.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1143, allocations: 119.4 kB / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1144, allocations: 0 / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1144, allocations: 0 / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1144, allocations: 0 / 362.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1146, allocations: 55.95 kB / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.1152, allocations: 377.5 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1155, allocations: 133.1 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1156, allocations: 57.75 kB / 363.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1156, allocations: 0 / 363.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1159, allocations: 147.8 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.1159, allocations: 0 / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005177/0.1164, allocations: 237.4 kB / 363.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.1165, allocations: 89.09 kB / 363.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1167, allocations: 178.3 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.1167, allocations: 49.69 kB / 363.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.1168, allocations: 104.6 kB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1168, allocations: 47.38 kB / 364 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.1169, allocations: 57.92 kB / 364.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.117, allocations: 330.8 kB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.1172, allocations: 96.45 kB / 364.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1174, allocations: 128.4 kB / 364.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.1178, allocations: 218.8 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1178, allocations: 0 / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004541/0.1182, allocations: 281.3 kB / 365.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1183, allocations: 8 kB / 365.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1183, allocations: 64 / 365.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1183, allocations: 7.938 kB / 365.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1185, allocations: 31.92 kB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1185, allocations: 4 kB / 365.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.1186, allocations: 23.77 kB / 365.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1186, allocations: 8 kB / 365.2 MB, free: 6.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.0001308/0.1187, allocations: 154.7 kB / 365.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1188, allocations: 19.81 kB / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.1188, allocations: 13.39 kB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.1188, allocations: 4 kB / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1188, allocations: 0 / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1188, allocations: 0 / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.119, allocations: 209.4 kB / 365.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1191, allocations: 4 kB / 365.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.1191, allocations: 7.984 kB / 365.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1191, allocations: 0 / 365.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1191, allocations: 8 kB / 365.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1191, allocations: 4 kB / 365.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1191, allocations: 0 / 365.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1195, allocations: 225.6 kB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1196, allocations: 88.92 kB / 365.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1196, allocations: 15.98 kB / 366 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.1197, allocations: 4 kB / 366 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.1197, allocations: 15.98 kB / 366 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1198, allocations: 4 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1199, allocations: 128.2 kB / 366.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1199, allocations: 0 / 366.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1202, allocations: 44 kB / 366.1 MB, free: 5.727 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.0004348/0.1206, allocations: 210.9 kB / 366.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.121, allocations: 191.8 kB / 366.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.121, allocations: 0 / 366.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1212, allocations: 68.03 kB / 366.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.1214, allocations: 11.98 kB / 366.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1219, allocations: 259.6 kB / 366.9 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1223, allocations: 0.7041 MB / 367.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.1223, allocations: 24.86 kB / 367.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.1224, allocations: 15.44 kB / 367.6 MB, free: 4.215 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1224, allocations: 0 / 367.6 MB, free: 4.215 MB / 302.1 MB Notification: Performance of Templates: time 0.005054/0.1274, allocations: 1.954 MB / 369.6 MB, free: 2.262 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 -s cvode -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.0.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