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.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 2.16/2.16, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08923, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001761/0.09104, allocations: 1.05 MB / 310.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.09196, allocations: 347.9 kB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.09201, allocations: 0 / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.09204, allocations: 3.938 kB / 310.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.0921, allocations: 4 kB / 310.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.09254, allocations: 67.78 kB / 310.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.56e-05/0.09261, allocations: 8 kB / 310.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.09267, allocations: 4 kB / 310.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.09271, allocations: 19.91 kB / 310.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.216e-05/0.09274, allocations: 3.938 kB / 310.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.09276, allocations: 0 / 310.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.09297, allocations: 67.86 kB / 310.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.093, allocations: 0 / 310.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.09305, allocations: 33.7 kB / 310.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.09321, allocations: 55.89 kB / 310.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.09323, allocations: 4 kB / 310.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09324, allocations: 0 / 310.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.09325, allocations: 4 kB / 310.7 MB, free: 14.69 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003904/0.09365, allocations: 339.2 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.0937, allocations: 8.031 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.09375, allocations: 4 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.09388, allocations: 163.3 kB / 311.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.09391, allocations: 0 / 311.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.09393, allocations: 7.984 kB / 311.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.09403, allocations: 37.64 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.09406, allocations: 4 kB / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.09408, allocations: 0 / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.09409, allocations: 0 / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.09412, allocations: 4 kB / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.0945, allocations: 252.8 kB / 311.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.54e-05/0.09459, allocations: 26.5 kB / 311.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.09462, allocations: 3.938 kB / 311.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.09477, allocations: 59.45 kB / 311.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.09478, allocations: 0 / 311.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.09498, allocations: 53.59 kB / 311.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.09504, allocations: 55.41 kB / 311.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.09514, allocations: 105.8 kB / 311.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.09519, allocations: 29.64 kB / 311.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.09525, allocations: 88.08 kB / 311.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.09528, allocations: 15.89 kB / 311.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-06/0.0953, allocations: 0 / 311.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.09543, allocations: 314.8 kB / 312.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.09547, allocations: 8 kB / 312.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.09553, allocations: 21.7 kB / 312.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.09557, allocations: 8 kB / 312.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09559, allocations: 0 / 312.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001335/0.09573, allocations: 61.62 kB / 312.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.09576, allocations: 8 kB / 312.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.09578, allocations: 0 / 312.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.0958, allocations: 0 / 312.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.09588, allocations: 8 kB / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.0959, allocations: 0 / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.09593, allocations: 0 / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.09595, allocations: 3.984 kB / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 9.593e-05/0.09606, allocations: 117.8 kB / 312.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.09608, allocations: 11.94 kB / 312.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.09612, allocations: 3.906 kB / 312.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.09613, allocations: 0 / 312.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.09614, allocations: 384 / 312.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.0962, allocations: 77.11 kB / 312.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.09622, allocations: 0 / 312.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.657e-05/0.09625, allocations: 11.98 kB / 312.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.09629, allocations: 3.953 kB / 312.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001405/0.09644, allocations: 128.9 kB / 312.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001766/0.09663, allocations: 222.8 kB / 312.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.03e-05/0.09668, allocations: 7.984 kB / 312.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.09673, allocations: 83.28 kB / 313 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Backend: time 2.976e-06/0.09675, allocations: 0 / 313 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.09742, allocations: 189 kB / 313.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004556/0.09789, allocations: 0.5527 MB / 313.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.004232/0.1021, allocations: 0.9524 MB / 314.7 MB, free: 10.38 MB / 266.7 MB "" Variables in the reference:time,impureRandom_y Variables in the result:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,impureRandom.samplePeriod,impureRandom_y,time