Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, 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 1.427/1.427, allocations: 205.4 MB / 223.5 MB, free: 9.012 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.0007194/0.0007194, allocations: 89.41 kB / 271.9 MB, free: 8.254 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.3269/0.3269, allocations: 43.55 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 16 kB / 432.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 58.84 MB / 491.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007168/0.1174, allocations: 301.9 kB / 491.8 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.1178, allocations: 115.7 kB / 491.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.1178, allocations: 0 / 491.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.1178, allocations: 3.938 kB / 491.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.118, allocations: 23.91 kB / 491.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.1181, allocations: 7.938 kB / 491.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.963e-05/0.1181, allocations: 15.94 kB / 491.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.1182, allocations: 7.984 kB / 491.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.1182, allocations: 7.938 kB / 492 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.1183, allocations: 19.91 kB / 492 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1183, allocations: 0 / 492 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1184, allocations: 47.95 kB / 492 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.1184, allocations: 7.922 kB / 492 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.1185, allocations: 33.64 kB / 492.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.658e-05/0.1185, allocations: 27.95 kB / 492.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1186, allocations: 8 kB / 492.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1186, allocations: 0 / 492.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1186, allocations: 4 kB / 492.1 MB, free: 10.04 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002936/0.1189, allocations: 327.7 kB / 492.4 MB, free: 9.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1189, allocations: 15.97 kB / 492.4 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.119, allocations: 0.9375 kB / 492.4 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1191, allocations: 164.4 kB / 492.6 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1191, allocations: 12.31 kB / 492.6 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1191, allocations: 4.375 kB / 492.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1193, allocations: 54.25 kB / 492.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1193, allocations: 192 / 492.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1193, allocations: 7.938 kB / 492.7 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1193, allocations: 4 kB / 492.7 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.1194, allocations: 51.94 kB / 492.7 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.1196, allocations: 177.5 kB / 492.9 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1198, allocations: 78.55 kB / 493 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1198, allocations: 28.84 kB / 493 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.1202, allocations: 259.3 kB / 493.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1202, allocations: 34.56 kB / 493.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1202, allocations: 0 / 493.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002348/0.1205, allocations: 109.8 kB / 493.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1205, allocations: 51.41 kB / 493.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.241e-05/0.1206, allocations: 101.9 kB / 493.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1206, allocations: 25.7 kB / 493.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1206, allocations: 84.08 kB / 493.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.1207, allocations: 39.44 kB / 493.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.1207, allocations: 4 kB / 493.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1208, allocations: 310.8 kB / 494 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.1209, allocations: 19.98 kB / 494 MB, free: 7.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.1209, allocations: 19.98 kB / 494 MB, free: 7.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.121, allocations: 44.86 kB / 494.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.121, allocations: 4.125 kB / 494.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.1211, allocations: 85.62 kB / 494.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1212, allocations: 4 kB / 494.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1212, allocations: 0 / 494.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1212, allocations: 4.594 kB / 494.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1213, allocations: 23.92 kB / 494.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1213, allocations: 0 / 494.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.1213, allocations: 3.938 kB / 494.2 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1214, allocations: 4 kB / 494.2 MB, free: 7.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.226e-05/0.1215, allocations: 117.8 kB / 494.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.1215, allocations: 7.906 kB / 494.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.1217, allocations: 113.4 kB / 494.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1218, allocations: 0 / 494.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1218, allocations: 0 / 494.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.1218, allocations: 81.11 kB / 494.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.1218, allocations: 0 / 494.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.1219, allocations: 4 kB / 494.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.1219, allocations: 7.984 kB / 494.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001666/0.1221, allocations: 164.9 kB / 494.7 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001939/0.1223, allocations: 264.4 kB / 495 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.592e-05/0.1223, allocations: 27.98 kB / 495 MB, free: 6.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.1223, allocations: 75.28 kB / 495.1 MB, free: 6.746 MB / 378.7 MB Notification: Performance of Backend: time 4.21e-07/0.1224, allocations: 0 / 495.1 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.1228, allocations: 134.2 kB / 495.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004316/0.1232, allocations: 0.588 MB / 495.8 MB, free: 5.969 MB / 378.7 MB Error: Internal error GetVarIndexListByMapping: No Element for sqrtx 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: sqrtx (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for sqrtx_a 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: sqrtx_a (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for sqrtxerr 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: sqrtxerr (no alias) initial: no arrCref index:(3) [] 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:3: x (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for x2 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: x2 (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for x2_a 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:5: x2_a (no alias) initial: no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for x2err 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:6: x2err (no alias) initial: no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for x3 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:7: x3 (no alias) initial: no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for x3_a 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:8: x3_a (no alias) initial: no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for x3err 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:9: x3err (no alias) initial: no arrCref index:(10) [] Error: Internal error GetVarIndexListByMapping: No Element for delta 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: delta (no alias) initial: 0.01 no arrCref index:(11) [] Error: Internal error GetVarIndexListByMapping: No Element for sqrtx found! Error: Internal error GetVarIndexListByMapping: No Element for sqrtx_a found! Error: Internal error GetVarIndexListByMapping: No Element for sqrtxerr found! Error: Internal error GetVarIndexListByMapping: No Element for x found! Error: Internal error GetVarIndexListByMapping: No Element for x2 found! Error: Internal error GetVarIndexListByMapping: No Element for x2_a found! Error: Internal error GetVarIndexListByMapping: No Element for x2err found! Error: Internal error GetVarIndexListByMapping: No Element for x3 found! Error: Internal error GetVarIndexListByMapping: No Element for x3_a found! Error: Internal error GetVarIndexListByMapping: No Element for x3err found! Error: Internal error GetVarIndexListByMapping: No Element for delta found!