Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001637, allocations: 180.3 kB / 17.39 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, 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.0007709/0.0007709, allocations: 92.75 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4221/0.4221, allocations: 43.55 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004264, allocations: 12 kB / 432.6 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.85 MB / 491.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0007466/0.1254, allocations: 236.4 kB / 491.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000306/0.1257, allocations: 97.3 kB / 491.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.1257, allocations: 0 / 491.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.1258, allocations: 0 / 491.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.693e-05/0.1258, allocations: 0 / 491.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.126, allocations: 15.98 kB / 491.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.1261, allocations: 4 kB / 491.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.1262, allocations: 0 / 491.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.1262, allocations: 15.92 kB / 491.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.1263, allocations: 4 kB / 491.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1263, allocations: 0 / 491.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.1264, allocations: 35.91 kB / 491.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1264, allocations: 3.984 kB / 491.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1265, allocations: 33.62 kB / 491.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.203e-05/0.1266, allocations: 15.98 kB / 491.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1266, allocations: 4 kB / 491.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1266, allocations: 0 / 491.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1266, allocations: 0 / 491.9 MB, free: 10.21 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.0003846/0.127, allocations: 327.5 kB / 492.3 MB, free: 9.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.1271, allocations: 8.031 kB / 492.3 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1271, allocations: 0.9375 kB / 492.3 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1273, allocations: 164.7 kB / 492.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1273, allocations: 4.312 kB / 492.4 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1273, allocations: 8.375 kB / 492.4 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1275, allocations: 51.97 kB / 492.5 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1275, allocations: 4.172 kB / 492.5 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1275, allocations: 3.938 kB / 492.5 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1275, allocations: 4 kB / 492.5 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.1276, allocations: 11.94 kB / 492.5 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.128, allocations: 329 kB / 492.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.128, allocations: 26.55 kB / 492.9 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.1281, allocations: 16.86 kB / 492.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1281, allocations: 0 / 492.9 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1281, allocations: 30.56 kB / 492.9 MB, free: 9.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1281, allocations: 0 / 492.9 MB, free: 9.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002148/0.1284, allocations: 61.84 kB / 493 MB, free: 9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.1284, allocations: 59.41 kB / 493 MB, free: 8.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.1285, allocations: 97.75 kB / 493.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1285, allocations: 25.7 kB / 493.1 MB, free: 8.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.1286, allocations: 88.14 kB / 493.2 MB, free: 8.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.1286, allocations: 7.812 kB / 493.2 MB, free: 8.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1286, allocations: 0 / 493.2 MB, free: 8.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1287, allocations: 318.8 kB / 493.6 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.1288, allocations: 7.984 kB / 493.6 MB, free: 8.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.1288, allocations: 25.84 kB / 493.6 MB, free: 8.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.1289, allocations: 29.66 kB / 493.6 MB, free: 8.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.1289, allocations: 3.984 kB / 493.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.949e-05/0.129, allocations: 53.64 kB / 493.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.129, allocations: 11.98 kB / 493.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.129, allocations: 0 / 493.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.129, allocations: 3.938 kB / 493.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.1291, allocations: 12.03 kB / 493.7 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1291, allocations: 0 / 493.7 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.1292, allocations: 0 / 493.7 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1292, allocations: 4 kB / 493.7 MB, free: 8.207 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 9.18e-05/0.1293, allocations: 113.8 kB / 493.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1293, allocations: 11.94 kB / 493.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1295, allocations: 61.11 kB / 493.9 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1295, allocations: 0 / 493.9 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1295, allocations: 192 / 493.9 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.1295, allocations: 89.02 kB / 494 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1295, allocations: 4 kB / 494 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.1296, allocations: 4 kB / 494 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1297, allocations: 7.984 kB / 494 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001401/0.1298, allocations: 124.9 kB / 494.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002189/0.13, allocations: 230.8 kB / 494.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.761e-05/0.1301, allocations: 12 kB / 494.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.1301, allocations: 83.28 kB / 494.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of Backend: time 2.61e-07/0.1301, allocations: 0 / 494.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003999/0.1305, allocations: 98.31 kB / 494.5 MB, free: 7.316 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004358/0.131, allocations: 0.5797 MB / 495.1 MB, free: 6.684 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!