Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.000478, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09765, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001835/0.09954, allocations: 1.05 MB / 310 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.1005, allocations: 347.9 kB / 310.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1006, allocations: 0 / 310.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.1006, allocations: 0 / 310.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.1007, allocations: 4 kB / 310.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.1011, allocations: 67.78 kB / 310.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.1012, allocations: 11.92 kB / 310.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.1013, allocations: 4 kB / 310.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.1013, allocations: 4 kB / 310.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1013, allocations: 11.92 kB / 310.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1014, allocations: 7.875 kB / 310.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1016, allocations: 63.92 kB / 310.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.1017, allocations: 4 kB / 310.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1017, allocations: 33.7 kB / 310.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1019, allocations: 55.89 kB / 310.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1019, allocations: 0 / 310.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.1019, allocations: 7.922 kB / 310.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1019, allocations: 0 / 310.6 MB, free: 15.38 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.0004431/0.1024, allocations: 343.2 kB / 311 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1024, allocations: 8.031 kB / 311 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1025, allocations: 4 kB / 311 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1026, allocations: 163 kB / 311.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1027, allocations: 4 kB / 311.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1027, allocations: 4 kB / 311.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1028, allocations: 41.67 kB / 311.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1028, allocations: 0 / 311.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1028, allocations: 0 / 311.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1028, allocations: 0 / 311.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.1029, allocations: 4 kB / 311.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1033, allocations: 252.9 kB / 311.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.1034, allocations: 22.56 kB / 311.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1034, allocations: 0 / 311.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.1035, allocations: 51.47 kB / 311.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.1036, allocations: 0 / 311.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002119/0.1038, allocations: 61.53 kB / 311.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1038, allocations: 55.41 kB / 311.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.1039, allocations: 105.8 kB / 311.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.104, allocations: 25.7 kB / 311.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.1041, allocations: 158.5 kB / 311.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1041, allocations: 12.12 kB / 311.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.1041, allocations: 0 / 311.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1042, allocations: 314.8 kB / 312.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.1043, allocations: 11.98 kB / 312.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.1043, allocations: 21.72 kB / 312.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.1044, allocations: 8 kB / 312.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1044, allocations: 0 / 312.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001325/0.1046, allocations: 57.62 kB / 312.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1046, allocations: 4 kB / 312.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1046, allocations: 3.984 kB / 312.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1046, allocations: 4 kB / 312.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.1047, allocations: 4 kB / 312.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1047, allocations: 0 / 312.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.1048, allocations: 15.91 kB / 312.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1048, allocations: 0 / 312.4 MB, free: 13.43 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 0.0001034/0.1049, allocations: 117.8 kB / 312.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1049, allocations: 3.906 kB / 312.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.105, allocations: 7.891 kB / 312.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.105, allocations: 0 / 312.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.105, allocations: 4 kB / 312.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.1051, allocations: 77.11 kB / 312.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1051, allocations: 384 / 312.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.1051, allocations: 4 kB / 312.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.1052, allocations: 7.953 kB / 312.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001413/0.1053, allocations: 125.2 kB / 312.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002193/0.1055, allocations: 226.8 kB / 312.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.286e-05/0.1056, allocations: 8 kB / 312.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.1057, allocations: 91.27 kB / 313 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Backend: time 8.91e-07/0.1057, allocations: 4 kB / 313 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.1064, allocations: 176.6 kB / 313.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004881/0.1069, allocations: 0.5777 MB / 313.8 MB, free: 11.92 MB / 266.7 MB Error: Internal error GetVarIndexListByMapping: No Element for impureRandom_y found! Error: Internal error GetVarIndexListByMapping: No Element for impureRandom.y found! Error: Internal error GetVarIndexListByMapping: No Element for $whenCondition1 found! Error: Internal error GetVarIndexListByMapping: No Element for impureRandom.samplePeriod found! Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.fixedSeed found! Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.id_impure found! Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.seed found! Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.enableNoise found! Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.useAutomaticSeed found! Error: Internal error GetVarIndexListByMapping: No Element for impureRandom_y found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: impureRandom_y (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for impureRandom.y found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: impureRandom.y (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for impureRandom.samplePeriod found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: impureRandom.samplePeriod (no alias) initial: 0.01 no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.fixedSeed found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: globalSeed.fixedSeed (no alias) initial: 67867967 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.id_impure found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: globalSeed.id_impure (no alias) hideResult initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.seed found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: globalSeed.seed (no alias) initial: no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for $whenCondition1 found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: $whenCondition1 (no alias) protected hideResult initial: no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.enableNoise found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: globalSeed.enableNoise (no alias) initial: true no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for globalSeed.useAutomaticSeed found! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:13946:9-13946:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: globalSeed.useAutomaticSeed (no alias) initial: false no arrCref index:(9) []