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.001552/0.001553, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001666/0.001666, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.386/1.386, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 51.48 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09884, allocations: 49.44 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003133/0.102, allocations: 1.464 MB / 352.2 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1032, allocations: 0.5782 MB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.1032, allocations: 4 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.846e-05/0.1034, allocations: 11.86 kB / 352.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.1034, allocations: 15.81 kB / 352.8 MB, free: 2.344 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.0005231/0.104, allocations: 139.6 kB / 352.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1041, allocations: 119.6 kB / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.1042, allocations: 5.125 kB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.1042, allocations: 51.83 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.1048, allocations: 74.27 kB / 353.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1048, allocations: 8 kB / 353.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.105, allocations: 115.8 kB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.1051, allocations: 35.84 kB / 353.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.1052, allocations: 51.67 kB / 353.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1055, allocations: 191.8 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1055, allocations: 0 / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1055, allocations: 0 / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1055, allocations: 0 / 353.6 MB, free: 1.566 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.0006005/0.1061, allocations: 458.8 kB / 354 MB, free: 1.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1062, allocations: 12.03 kB / 354 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.1065, allocations: 48.69 kB / 354.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1066, allocations: 200 kB / 354.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1067, allocations: 12.36 kB / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1067, allocations: 11.94 kB / 354.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1069, allocations: 111.3 kB / 354.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1069, allocations: 0 / 354.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.107, allocations: 7.938 kB / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.107, allocations: 0 / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1071, allocations: 55.95 kB / 354.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.1078, allocations: 361.5 kB / 354.8 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1081, allocations: 133.1 kB / 355 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1082, allocations: 57.75 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.1082, allocations: 0 / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.1085, allocations: 149 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.1085, allocations: 0 / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000502/0.109, allocations: 237.5 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.1091, allocations: 93.09 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1093, allocations: 174.1 kB / 355.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.1093, allocations: 49.69 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1094, allocations: 108.5 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.1094, allocations: 43.39 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.1095, allocations: 57.92 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1096, allocations: 330.8 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1098, allocations: 92.47 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.11, allocations: 137.5 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.1103, allocations: 215.3 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1104, allocations: 0 / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004655/0.1108, allocations: 289.3 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1109, allocations: 8 kB / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1109, allocations: 0 / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1109, allocations: 0 / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.111, allocations: 31.92 kB / 357 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1111, allocations: 4 kB / 357 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.1111, allocations: 27.75 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1112, allocations: 8 kB / 357 MB, free: 13.84 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.0001267/0.1113, allocations: 153.9 kB / 357.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1113, allocations: 15.81 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1114, allocations: 9.406 kB / 357.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1114, allocations: 4 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1114, allocations: 0 / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1114, allocations: 3.938 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1116, allocations: 205.5 kB / 357.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1116, allocations: 7.938 kB / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.1116, allocations: 8 kB / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1116, allocations: 0 / 357.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1117, allocations: 11.98 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1117, allocations: 0 / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1117, allocations: 0 / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.112, allocations: 225.6 kB / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1121, allocations: 92.86 kB / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1121, allocations: 12 kB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.1122, allocations: 7.984 kB / 357.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.1123, allocations: 15.92 kB / 357.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1123, allocations: 4 kB / 357.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.1124, allocations: 124.2 kB / 357.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1124, allocations: 0 / 357.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1127, allocations: 51.98 kB / 358 MB, free: 12.8 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.0004036/0.1131, allocations: 208.2 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.1135, allocations: 199.8 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1135, allocations: 0 / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1136, allocations: 59.97 kB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.1138, allocations: 8 kB / 358.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.1143, allocations: 293.6 kB / 358.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1146, allocations: 0.708 MB / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.1146, allocations: 15.44 kB / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1146, allocations: 0 / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004366/0.119, allocations: 2.305 MB / 361.7 MB, free: 8.98 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/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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches