Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09522, allocations: 44.52 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002688/0.09796, allocations: 1.186 MB / 310.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.09991, allocations: 0.554 MB / 310.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.1, allocations: 0 / 310.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1001, allocations: 3.938 kB / 310.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1003, allocations: 27.89 kB / 310.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.1011, allocations: 123.6 kB / 311 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1013, allocations: 67.84 kB / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.1014, allocations: 13.12 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1015, allocations: 39.84 kB / 311.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1016, allocations: 51.81 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.1017, allocations: 4 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.102, allocations: 111.8 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.1021, allocations: 19.92 kB / 311.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1022, allocations: 45.64 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.1026, allocations: 147.7 kB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1026, allocations: 3.938 kB / 311.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1026, allocations: 0 / 311.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1027, allocations: 0 / 311.4 MB, free: 13.96 MB / 266.7 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.0009235/0.1036, allocations: 439 kB / 311.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1037, allocations: 8.031 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.1042, allocations: 39.78 kB / 311.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1045, allocations: 206.7 kB / 312.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.1046, allocations: 4 kB / 312.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.1046, allocations: 11.98 kB / 312.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.1051, allocations: 119.3 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1051, allocations: 0 / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1051, allocations: 0 / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1051, allocations: 0 / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.1055, allocations: 71.89 kB / 312.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1067, allocations: 377.5 kB / 312.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.1074, allocations: 145.1 kB / 312.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1074, allocations: 4 kB / 312.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005264/0.108, allocations: 149 kB / 313 MB, free: 12.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.836e-06/0.108, allocations: 0 / 313 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.00121/0.1092, allocations: 403.6 kB / 313.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.1093, allocations: 97.25 kB / 313.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.1096, allocations: 178.3 kB / 313.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.278e-05/0.1097, allocations: 41.69 kB / 313.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1099, allocations: 104.6 kB / 313.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.11, allocations: 43.55 kB / 313.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.11, allocations: 7.984 kB / 313.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1102, allocations: 334.8 kB / 314.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.1107, allocations: 96.47 kB / 314.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.1112, allocations: 135.5 kB / 314.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.1117, allocations: 112 kB / 314.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1117, allocations: 0 / 314.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001166/0.1129, allocations: 313.2 kB / 314.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.1129, allocations: 8 kB / 314.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.113, allocations: 0 / 314.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.113, allocations: 0 / 314.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.1133, allocations: 35.92 kB / 314.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1134, allocations: 0 / 314.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1136, allocations: 23.83 kB / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.1136, allocations: 8.469 kB / 314.9 MB, free: 10.23 MB / 266.7 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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.1139, allocations: 149.7 kB / 315 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.114, allocations: 23.89 kB / 315.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.114, allocations: 17.39 kB / 315.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1141, allocations: 0 / 315.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1141, allocations: 0 / 315.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.1142, allocations: 88.95 kB / 315.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.1143, allocations: 11.98 kB / 315.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1144, allocations: 8 kB / 315.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.1145, allocations: 15.94 kB / 315.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009076/0.1155, allocations: 364 kB / 315.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008961/0.1164, allocations: 437.9 kB / 316 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002935/0.1167, allocations: 63.91 kB / 316 MB, free: 9.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1169, allocations: 119.2 kB / 316.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of Backend: time 9.82e-07/0.1169, allocations: 4 kB / 316.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.1185, allocations: 341.8 kB / 316.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of SimCode: time 0.000949/0.1195, allocations: 0.6869 MB / 317.2 MB, free: 7.848 MB / 266.7 MB Notification: Performance of Templates: time 0.009915/0.1295, allocations: 2.16 MB / 319.3 MB, free: 5.688 MB / 266.7 MB "" Variables in the reference:time,uniformNoise2_y Variables in the result:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,time,uniformNoise1.actualGlobalSeed,uniformNoise1.enableNoise,uniformNoise1.fixedLocalSeed,uniformNoise1.generateNoise,uniformNoise1.localSeed,uniformNoise1.samplePeriod,uniformNoise1.startTime,uniformNoise1.useAutomaticLocalSeed,uniformNoise1.useGlobalSeed,uniformNoise1.y_max,uniformNoise1.y_min,uniformNoise1.y_off,uniformNoise2.actualGlobalSeed,uniformNoise2.enableNoise,uniformNoise2.fixedLocalSeed,uniformNoise2.generateNoise,uniformNoise2.localSeed,uniformNoise2.samplePeriod,uniformNoise2.startTime,uniformNoise2.useAutomaticLocalSeed,uniformNoise2.useGlobalSeed,uniformNoise2.y_max,uniformNoise2.y_min,uniformNoise2.y_off,uniformNoise2_y