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.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09118/0.09154, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002086/0.09367, allocations: 1.233 MB / 310.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.09682, allocations: 1.365 MB / 311.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.09692, allocations: 4 kB / 311.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.483e-05/0.09702, allocations: 11.88 kB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.09718, allocations: 23.89 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.0984, allocations: 315.1 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.09857, allocations: 79.83 kB / 312.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.09866, allocations: 9.5 kB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.09875, allocations: 47.83 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.09886, allocations: 55.75 kB / 312.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.0989, allocations: 11.94 kB / 312.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009757/0.09989, allocations: 443.3 kB / 312.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.09996, allocations: 27.91 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.1, allocations: 45.64 kB / 312.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.1007, allocations: 283.7 kB / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1007, allocations: 0 / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1007, allocations: 0 / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1007, allocations: 0 / 313 MB, free: 12.39 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009321/0.1017, allocations: 0.4986 MB / 313.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1017, allocations: 8.031 kB / 313.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.102, allocations: 35.75 kB / 313.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1023, allocations: 199.6 kB / 313.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.1023, allocations: 4 kB / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.1023, allocations: 23.89 kB / 313.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.1027, allocations: 134.5 kB / 313.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1028, allocations: 3.984 kB / 313.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1028, allocations: 0 / 313.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1028, allocations: 0 / 313.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.1032, allocations: 67.95 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1042, allocations: 0.5555 MB / 314.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.1048, allocations: 171.8 kB / 314.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1049, allocations: 0 / 314.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.1053, allocations: 157.8 kB / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.963e-06/0.1053, allocations: 0 / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001016/0.1063, allocations: 427.8 kB / 315.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.1064, allocations: 118.9 kB / 315.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1067, allocations: 191.2 kB / 315.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/0.1068, allocations: 53.62 kB / 315.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.1069, allocations: 108.5 kB / 315.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.107, allocations: 43.53 kB / 315.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.107, allocations: 0 / 315.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1072, allocations: 330.8 kB / 316.1 MB, free: 9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.1075, allocations: 107.9 kB / 316.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.1079, allocations: 139.3 kB / 316.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.1083, allocations: 116 kB / 316.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1083, allocations: 4 kB / 316.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009046/0.1092, allocations: 317.1 kB / 316.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1093, allocations: 4 kB / 316.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1093, allocations: 12.03 kB / 316.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1093, allocations: 0 / 316.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1096, allocations: 27.98 kB / 316.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.1096, allocations: 7.953 kB / 316.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1098, allocations: 23.83 kB / 316.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.1098, allocations: 12 kB / 316.8 MB, free: 8.227 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.0001816/0.11, allocations: 149.8 kB / 317 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1101, allocations: 23.89 kB / 317 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.1101, allocations: 17.39 kB / 317 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1101, allocations: 0 / 317 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1101, allocations: 0 / 317 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.1102, allocations: 100.8 kB / 317.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.1103, allocations: 11.98 kB / 317.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.1104, allocations: 12 kB / 317.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1105, allocations: 19.91 kB / 317.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000775/0.1113, allocations: 443.4 kB / 317.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007446/0.112, allocations: 0.5205 MB / 318.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002508/0.1123, allocations: 63.97 kB / 318.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.1125, allocations: 141.1 kB / 318.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of Backend: time 8.21e-07/0.1125, allocations: 0 / 318.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.1143, allocations: 473 kB / 318.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of SimCode: time 0.0008138/0.1152, allocations: 0.7093 MB / 319.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Templates: time 0.011/0.1262, allocations: 3.653 MB / 323.1 MB, free: 1.84 MB / 266.7 MB "" Variables in the reference:time,uniformNoise_y,truncatedNormalNoise_y Variables in the result:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,samplePeriod,time,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.enableNoise,truncatedNormalNoise.fixedLocalSeed,truncatedNormalNoise.generateNoise,truncatedNormalNoise.localSeed,truncatedNormalNoise.mu,truncatedNormalNoise.samplePeriod,truncatedNormalNoise.sigma,truncatedNormalNoise.startTime,truncatedNormalNoise.useAutomaticLocalSeed,truncatedNormalNoise.useGlobalSeed,truncatedNormalNoise.y_max,truncatedNormalNoise.y_min,truncatedNormalNoise.y_off,truncatedNormalNoise_y,uniformNoise.actualGlobalSeed,uniformNoise.enableNoise,uniformNoise.fixedLocalSeed,uniformNoise.generateNoise,uniformNoise.localSeed,uniformNoise.samplePeriod,uniformNoise.startTime,uniformNoise.useAutomaticLocalSeed,uniformNoise.useGlobalSeed,uniformNoise.y_max,uniformNoise.y_min,uniformNoise.y_off,uniformNoise_y,y_max,y_min