Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 178.4 kB / 17.39 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.498/2.498, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009102/0.0009106, allocations: 93.36 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004702, allocations: 8 kB / 328.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4798, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.00216/0.4821, allocations: 1.071 MB / 376.8 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.4831, allocations: 341.3 kB / 377.1 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.4831, allocations: 5.312 kB / 377.1 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.4832, allocations: 3.938 kB / 377.2 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.4833, allocations: 1.375 kB / 377.2 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.4839, allocations: 69.08 kB / 377.2 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.484, allocations: 18.39 kB / 377.2 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.4841, allocations: 1.906 kB / 377.2 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.4841, allocations: 10.41 kB / 377.3 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.4842, allocations: 2.875 kB / 377.3 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.4842, allocations: 1.219 kB / 377.3 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.4845, allocations: 84.31 kB / 377.3 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.4845, allocations: 1.031 kB / 377.3 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.4846, allocations: 39.59 kB / 377.4 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.4848, allocations: 58.92 kB / 377.4 MB, free: 44.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.4848, allocations: 4 kB / 377.4 MB, free: 44.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.4848, allocations: 0 / 377.4 MB, free: 44.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.4848, allocations: 1.062 kB / 377.4 MB, free: 44.11 MB / 298.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.0005511/0.4854, allocations: 337.2 kB / 377.8 MB, free: 43.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.4855, allocations: 8.188 kB / 377.8 MB, free: 43.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.4855, allocations: 6.812 kB / 377.8 MB, free: 43.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4857, allocations: 163.5 kB / 377.9 MB, free: 43.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.4857, allocations: 9.391 kB / 378 MB, free: 43.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4858, allocations: 1.375 kB / 378 MB, free: 43.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4859, allocations: 34.14 kB / 378 MB, free: 43.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4859, allocations: 1.125 kB / 378 MB, free: 43.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.486, allocations: 7.938 kB / 378 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.486, allocations: 0 / 378 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.486, allocations: 7.641 kB / 378 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.4865, allocations: 244.5 kB / 378.2 MB, free: 43.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.4866, allocations: 28.16 kB / 378.3 MB, free: 43.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.4867, allocations: 20.94 kB / 378.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.4867, allocations: 1.062 kB / 378.3 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.4869, allocations: 55.09 kB / 378.3 MB, free: 43.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.4869, allocations: 0 / 378.3 MB, free: 43.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002927/0.4872, allocations: 54.27 kB / 378.4 MB, free: 43.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.4873, allocations: 55.41 kB / 378.5 MB, free: 42.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4874, allocations: 109.2 kB / 378.6 MB, free: 42.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4874, allocations: 26.98 kB / 378.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.4875, allocations: 81.73 kB / 378.7 MB, free: 42.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.4875, allocations: 13.25 kB / 378.7 MB, free: 42.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.4875, allocations: 0 / 378.7 MB, free: 42.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4877, allocations: 323.9 kB / 379 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.4877, allocations: 7.438 kB / 379 MB, free: 42.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.4877, allocations: 18.86 kB / 379 MB, free: 42.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.4878, allocations: 27.16 kB / 379 MB, free: 42.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4878, allocations: 0 / 379 MB, free: 42.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.4879, allocations: 63.06 kB / 379.1 MB, free: 42.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.488, allocations: 4.844 kB / 379.1 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.488, allocations: 4.969 kB / 379.1 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.488, allocations: 1.031 kB / 379.1 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.4881, allocations: 9.578 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4882, allocations: 1.25 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.4882, allocations: 5 kB / 379.1 MB, free: 42.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4882, allocations: 1.156 kB / 379.1 MB, free: 42.32 MB / 298.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.0001049/0.4883, allocations: 117.1 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.4883, allocations: 5.125 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.4884, allocations: 9.125 kB / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4884, allocations: 3.984 kB / 379.3 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4884, allocations: 0 / 379.3 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.4885, allocations: 78.3 kB / 379.3 MB, free: 42.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4885, allocations: 1.156 kB / 379.3 MB, free: 42.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.4885, allocations: 1.156 kB / 379.3 MB, free: 42.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.4886, allocations: 1.156 kB / 379.3 MB, free: 42.09 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001421/0.4887, allocations: 129.7 kB / 379.5 MB, free: 41.97 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001558/0.4889, allocations: 229.1 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.279e-05/0.4889, allocations: 8.891 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.047e-05/0.489, allocations: 87.89 kB / 379.8 MB, free: 41.66 MB / 298.7 MB Notification: Performance of Backend: time 6.01e-07/0.489, allocations: 0 / 379.8 MB, free: 41.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.49, allocations: 180.2 kB / 380 MB, free: 41.55 MB / 298.7 MB Notification: Performance of SimCode: time 0.0006703/0.4906, allocations: 0.5808 MB / 380.5 MB, free: 40.93 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for impureRandom_y found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: globalSeed.useAutomaticSeed (no alias) initial: false no arrCref index:(9) [] 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!