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.00142/0.00142, allocations: 114.5 kB / 17.28 MB, free: 6.219 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.001607/0.001607, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.413/1.413, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009659/0.0009659, allocations: 42.02 kB / 300.8 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08846, allocations: 49.46 MB / 350.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003125/0.09164, allocations: 1.558 MB / 351.8 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.0929, allocations: 0.5885 MB / 352.4 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.093, allocations: 0 / 352.4 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.09318, allocations: 3.938 kB / 352.4 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.09327, allocations: 11.86 kB / 352.4 MB, free: 2.336 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.000687/0.09396, allocations: 123.8 kB / 352.5 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.09415, allocations: 111.7 kB / 352.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.09421, allocations: 13.12 kB / 352.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.0943, allocations: 47.83 kB / 352.7 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007863/0.09509, allocations: 74.89 kB / 352.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.09514, allocations: 8 kB / 352.8 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.09538, allocations: 107.8 kB / 352.9 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.09545, allocations: 39.83 kB / 352.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.09554, allocations: 55.67 kB / 353 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.09579, allocations: 140 kB / 353.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.0958, allocations: 0 / 353.1 MB, free: 1.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09581, allocations: 3.938 kB / 353.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.09582, allocations: 4 kB / 353.1 MB, free: 1.625 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.0006409/0.09647, allocations: 454.7 kB / 353.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.09651, allocations: 12.03 kB / 353.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.09684, allocations: 32.81 kB / 353.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.09703, allocations: 204 kB / 353.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.09705, allocations: 12.36 kB / 353.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.09708, allocations: 7.938 kB / 353.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.09731, allocations: 119.3 kB / 353.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.09732, allocations: 0 / 353.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.09734, allocations: 3.938 kB / 354 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.09736, allocations: 4 kB / 354 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.09752, allocations: 55.95 kB / 354 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.09816, allocations: 373.5 kB / 354.4 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.09846, allocations: 133.1 kB / 354.5 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.09857, allocations: 53.75 kB / 354.6 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.09859, allocations: 4 kB / 354.6 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.09886, allocations: 141 kB / 354.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.09888, allocations: 0 / 354.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004938/0.09938, allocations: 237.3 kB / 354.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.09944, allocations: 93.16 kB / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.09961, allocations: 182.8 kB / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.09965, allocations: 41.7 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.09973, allocations: 100.6 kB / 355.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.09977, allocations: 47.39 kB / 355.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.09986, allocations: 69.91 kB / 355.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.09999, allocations: 330.8 kB / 355.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1002, allocations: 96.45 kB / 355.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1004, allocations: 124.4 kB / 356 MB, free: 14.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.1007, allocations: 219.4 kB / 356.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1007, allocations: 0 / 356.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004486/0.1012, allocations: 285.3 kB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1012, allocations: 4 kB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1012, allocations: 0 / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1012, allocations: 4 kB / 356.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1014, allocations: 35.98 kB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1014, allocations: 0 / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.1015, allocations: 23.77 kB / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1015, allocations: 8 kB / 356.6 MB, free: 13.91 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.0001467/0.1016, allocations: 153.8 kB / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1017, allocations: 11.81 kB / 356.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1017, allocations: 17.41 kB / 356.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1017, allocations: 4 kB / 356.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1017, allocations: 0 / 356.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1018, allocations: 11.92 kB / 356.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1019, allocations: 205.5 kB / 357 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.102, allocations: 4 kB / 357 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.102, allocations: 8 kB / 357 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.102, allocations: 0 / 357 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.102, allocations: 3.984 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.102, allocations: 4 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1021, allocations: 0 / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1024, allocations: 232.4 kB / 357.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1025, allocations: 88.92 kB / 357.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1025, allocations: 8 kB / 357.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.1026, allocations: 7.984 kB / 357.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.1026, allocations: 19.92 kB / 357.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.1026, allocations: 4 kB / 357.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1028, allocations: 123.2 kB / 357.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1028, allocations: 0 / 357.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1031, allocations: 51.98 kB / 357.5 MB, free: 12.87 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.0004009/0.1035, allocations: 201.2 kB / 357.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.1039, allocations: 195.8 kB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1039, allocations: 0 / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.104, allocations: 55.97 kB / 357.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.1042, allocations: 10.31 kB / 357.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.1047, allocations: 325.4 kB / 358.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.105, allocations: 0.7158 MB / 359 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1051, allocations: 11.44 kB / 359 MB, free: 11.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1051, allocations: 0 / 359 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Templates: time 0.004301/0.1094, allocations: 2.301 MB / 361.3 MB, free: 9.027 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