Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 179.2 kB / 17.39 MB, free: 4.301 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.373/1.373, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0009821/0.0009819, allocations: 94.03 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.3597/0.3597, allocations: 43.56 MB / 363.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 20 kB / 432.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 58.86 MB / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.000717/0.1356, allocations: 228.4 kB / 491.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1375, allocations: 1.351 MB / 493.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1376, allocations: 0 / 493.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1376, allocations: 4 kB / 493.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.1377, allocations: 0 / 493.1 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.1383, allocations: 151.7 kB / 493.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.1383, allocations: 0 / 493.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.1384, allocations: 7.984 kB / 493.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.1384, allocations: 0 / 493.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.1385, allocations: 7.938 kB / 493.2 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1385, allocations: 0 / 493.2 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.1389, allocations: 255.7 kB / 493.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.139, allocations: 0 / 493.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.139, allocations: 45.61 kB / 493.5 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1392, allocations: 83.77 kB / 493.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1392, allocations: 0 / 493.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1392, allocations: 0 / 493.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1392, allocations: 0 / 493.6 MB, free: 8.746 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004198/0.1396, allocations: 339.5 kB / 493.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1397, allocations: 8.031 kB / 493.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1397, allocations: 0.9375 kB / 493.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1398, allocations: 160.4 kB / 494.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1399, allocations: 4.375 kB / 494.1 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1399, allocations: 4.375 kB / 494.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.14, allocations: 34 kB / 494.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.14, allocations: 0 / 494.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.14, allocations: 4 kB / 494.1 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1401, allocations: 3.938 kB / 494.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.1401, allocations: 7.922 kB / 494.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.1402, allocations: 153.7 kB / 494.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.1403, allocations: 22.58 kB / 494.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.1403, allocations: 8.953 kB / 494.3 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1403, allocations: 0 / 494.3 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1404, allocations: 38.5 kB / 494.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1404, allocations: 0 / 494.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.1405, allocations: 41.62 kB / 494.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1406, allocations: 51.41 kB / 494.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.1407, allocations: 97.98 kB / 494.6 MB, free: 7.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1407, allocations: 25.7 kB / 494.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.1407, allocations: 84.14 kB / 494.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1407, allocations: 288 / 494.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.1408, allocations: 0 / 494.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1409, allocations: 310.8 kB / 495 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.1409, allocations: 4 kB / 495 MB, free: 7.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.1409, allocations: 0 / 495 MB, free: 7.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.1409, allocations: 17.03 kB / 495 MB, free: 7.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1409, allocations: 0 / 495 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.304e-05/0.141, allocations: 41.55 kB / 495 MB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.141, allocations: 11.94 kB / 495 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.141, allocations: 0 / 495 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1411, allocations: 0 / 495 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.1411, allocations: 0 / 495 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1411, allocations: 4 kB / 495 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.1412, allocations: 0 / 495 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1412, allocations: 4.031 kB / 495.1 MB, free: 7.078 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 (1): * Single equations (assignments): 1 * 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 7.845e-05/0.1413, allocations: 113.8 kB / 495.2 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1413, allocations: 11.88 kB / 495.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1414, allocations: 44.77 kB / 495.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1414, allocations: 0 / 495.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.1414, allocations: 3.984 kB / 495.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.1415, allocations: 81.14 kB / 495.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.1415, allocations: 0 / 495.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.1416, allocations: 4 kB / 495.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.1416, allocations: 3.938 kB / 495.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.46e-05/0.1417, allocations: 113 kB / 495.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001369/0.1418, allocations: 218.8 kB / 495.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.748e-05/0.1418, allocations: 0 / 495.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.1419, allocations: 79.28 kB / 495.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of Backend: time 3.91e-07/0.1419, allocations: 0 / 495.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.1424, allocations: 126.4 kB / 495.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003998/0.1428, allocations: 0.5775 MB / 496.4 MB, free: 5.594 MB / 378.7 MB 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:0: x (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for 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:0: a (no alias) initial: 15.0 no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for b 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: b (no alias) initial: 1.0 no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for x found! Error: Internal error GetVarIndexListByMapping: No Element for a found! Error: Internal error GetVarIndexListByMapping: No Element for b found!