Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009722/0.0009724, allocations: 197 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 244 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007769/0.0007769, allocations: 109.9 kB / 296.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2988/0.2988, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 8 kB / 465.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2992, allocations: 62.95 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005131/0.2997, allocations: 233.5 kB / 0.5167 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002063/0.2999, allocations: 89.11 kB / 0.5168 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.2999, allocations: 4 kB / 0.5168 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.3, allocations: 3.938 kB / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.71e-05/0.3, allocations: 0 / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.3001, allocations: 9.922 kB / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.035e-05/0.3002, allocations: 8.891 kB / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.3002, allocations: 0 / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.3003, allocations: 6.75 kB / 0.5168 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.3003, allocations: 10.55 kB / 0.5168 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3003, allocations: 0 / 0.5168 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.3004, allocations: 39.52 kB / 0.5169 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.3005, allocations: 7.984 kB / 0.5169 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.3005, allocations: 29.64 kB / 0.5169 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.669e-05/0.3006, allocations: 17.34 kB / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3006, allocations: 0 / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3006, allocations: 7.344 kB / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.3006, allocations: 0 / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002494/0.3008, allocations: 320.5 kB / 0.5172 GB, free: 36.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3009, allocations: 9.812 kB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.3009, allocations: 0.9375 kB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.613e-05/0.301, allocations: 167.2 kB / 0.5174 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.301, allocations: 4.375 kB / 0.5174 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.301, allocations: 3.312 kB / 0.5174 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.3011, allocations: 56.34 kB / 0.5175 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3011, allocations: 192 / 0.5175 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3011, allocations: 10.83 kB / 0.5175 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3012, allocations: 0 / 0.5175 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.3012, allocations: 9.656 kB / 0.5175 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.3014, allocations: 333.8 kB / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.3015, allocations: 28.91 kB / 0.5178 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.3015, allocations: 15.08 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3015, allocations: 2.969 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3015, allocations: 34.56 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3015, allocations: 0 / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001386/0.3017, allocations: 58.16 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.483e-05/0.3017, allocations: 58.39 kB / 0.518 GB, free: 35.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.042e-05/0.3018, allocations: 92.8 kB / 0.5181 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.3018, allocations: 29.7 kB / 0.5181 GB, free: 35.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.88e-05/0.3018, allocations: 80.14 kB / 0.5182 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.3018, allocations: 17.52 kB / 0.5182 GB, free: 35.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.3018, allocations: 0 / 0.5182 GB, free: 35.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.3019, allocations: 319 kB / 0.5185 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.3019, allocations: 5.688 kB / 0.5185 GB, free: 34.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.3019, allocations: 22.81 kB / 0.5185 GB, free: 34.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.302, allocations: 22.41 kB / 0.5186 GB, free: 34.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.302, allocations: 0 / 0.5186 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.444e-05/0.302, allocations: 62.86 kB / 0.5186 GB, free: 34.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3021, allocations: 9.844 kB / 0.5186 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3021, allocations: 3.984 kB / 0.5186 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3021, allocations: 0 / 0.5186 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.3021, allocations: 9.781 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3022, allocations: 2.781 kB / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.3022, allocations: 0 / 0.5187 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3022, allocations: 3 kB / 0.5187 GB, free: 34.84 MB / 378.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: 0 () * 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 3.936e-05/0.3022, allocations: 113.8 kB / 0.5188 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3023, allocations: 10.78 kB / 0.5188 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.3024, allocations: 62.59 kB / 0.5188 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3024, allocations: 3.938 kB / 0.5188 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3024, allocations: 0 / 0.5188 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.3024, allocations: 83.98 kB / 0.5189 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.3024, allocations: 0 / 0.5189 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.3025, allocations: 0 / 0.5189 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.3025, allocations: 6.094 kB / 0.5189 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.411e-05/0.3026, allocations: 138.6 kB / 0.5191 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.006e-05/0.3027, allocations: 231.5 kB / 0.5193 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.877e-05/0.3027, allocations: 18.58 kB / 0.5193 GB, free: 34.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.413e-05/0.3027, allocations: 75.28 kB / 0.5194 GB, free: 34.14 MB / 378.7 MB Notification: Performance of Backend: time 6.21e-07/0.3028, allocations: 0 / 0.5194 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.3031, allocations: 101.7 kB / 0.5195 GB, free: 34.06 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002169/0.3033, allocations: 0.5789 MB / 0.52 GB, free: 33.44 MB / 378.7 MB Error: Internal error GetVarIndexListByMapping: No Element for k1 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: k1 (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for k2 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: k2 (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for x 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: x (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for 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:3: y (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for yd 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:4: yd (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for x_small 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: x_small (no alias) initial: 0.01 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for k1 found! Error: Internal error GetVarIndexListByMapping: No Element for k2 found! Error: Internal error GetVarIndexListByMapping: No Element for x found! Error: Internal error GetVarIndexListByMapping: No Element for y found! Error: Internal error GetVarIndexListByMapping: No Element for yd found! Error: Internal error GetVarIndexListByMapping: No Element for x_small found!