Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.5 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.399/1.399, 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.0007209/0.000721, allocations: 89 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.3587/0.3587, allocations: 43.56 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 12 kB / 432.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 58.86 MB / 491.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007608/0.138, allocations: 272.4 kB / 491.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.1382, allocations: 65.34 kB / 491.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1383, allocations: 0 / 491.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1384, allocations: 0 / 491.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1386, allocations: 11.94 kB / 491.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.925e-05/0.1386, allocations: 4 kB / 491.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.1387, allocations: 3.984 kB / 491.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.1387, allocations: 0 / 491.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.1388, allocations: 11.94 kB / 491.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.1388, allocations: 0 / 491.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1388, allocations: 0 / 491.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.1389, allocations: 23.97 kB / 491.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1389, allocations: 7.922 kB / 491.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.139, allocations: 33.64 kB / 491.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.381e-05/0.1391, allocations: 11.98 kB / 491.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1391, allocations: 0 / 491.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1391, allocations: 0 / 491.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1391, allocations: 0 / 491.9 MB, free: 10.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003458/0.1394, allocations: 323.4 kB / 492.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1395, allocations: 8.031 kB / 492.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1395, allocations: 4.922 kB / 492.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1397, allocations: 160.4 kB / 492.4 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1397, allocations: 8.375 kB / 492.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1397, allocations: 384 / 492.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.1398, allocations: 34.25 kB / 492.4 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1398, allocations: 192 / 492.4 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1399, allocations: 3.938 kB / 492.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.1399, allocations: 4 kB / 492.4 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.1399, allocations: 11.94 kB / 492.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1401, allocations: 153.9 kB / 492.6 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1403, allocations: 34.58 kB / 492.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.1404, allocations: 16.94 kB / 492.7 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.1408, allocations: 125.1 kB / 492.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1408, allocations: 30.56 kB / 492.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1408, allocations: 0 / 492.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001325/0.1421, allocations: 225.3 kB / 493 MB, free: 9.156 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.1422, allocations: 51.41 kB / 493.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.1423, allocations: 89.86 kB / 493.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1423, allocations: 29.7 kB / 493.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.1424, allocations: 80.27 kB / 493.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1424, allocations: 15.81 kB / 493.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1424, allocations: 0 / 493.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1426, allocations: 318.8 kB / 493.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.1427, allocations: 23.92 kB / 493.6 MB, free: 8.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.1427, allocations: 28.05 kB / 493.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1429, allocations: 56.83 kB / 493.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1429, allocations: 3.938 kB / 493.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002158/0.1431, allocations: 81.66 kB / 493.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1432, allocations: 11.94 kB / 493.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1432, allocations: 0 / 493.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1432, allocations: 0 / 493.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1433, allocations: 20.2 kB / 493.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1434, allocations: 4 kB / 493.8 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.1435, allocations: 11.98 kB / 493.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1435, allocations: 0 / 493.8 MB, free: 8.297 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 (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.246e-05/0.1436, allocations: 117.8 kB / 494 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1436, allocations: 3.938 kB / 494 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1439, allocations: 97.19 kB / 494.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1439, allocations: 4 kB / 494.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1439, allocations: 0 / 494.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.144, allocations: 88.95 kB / 494.1 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.144, allocations: 0 / 494.1 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.1441, allocations: 11.98 kB / 494.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.1441, allocations: 4 kB / 494.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003364/0.1445, allocations: 176.8 kB / 494.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000308/0.1448, allocations: 263 kB / 494.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.114e-05/0.1449, allocations: 27.98 kB / 494.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.1449, allocations: 83.27 kB / 494.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of Backend: time 1.853e-06/0.1449, allocations: 0 / 494.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.1454, allocations: 106.4 kB / 494.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of SimCode: time 0.0005112/0.1459, allocations: 0.5758 MB / 495.4 MB, free: 6.637 MB / 378.7 MB Error: Internal error GetVarIndexListByMapping: No Element for $DER.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: $DER.x (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.yRegStep 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: $DER.yRegStep (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 yRegStep 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: yRegStep (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for yRegStep_der 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: yRegStep_der (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.5 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for $DER.x found! Error: Internal error GetVarIndexListByMapping: No Element for $DER.yRegStep found! Error: Internal error GetVarIndexListByMapping: No Element for x found! Error: Internal error GetVarIndexListByMapping: No Element for yRegStep found! Error: Internal error GetVarIndexListByMapping: No Element for yRegStep_der found! Error: Internal error GetVarIndexListByMapping: No Element for x_small found!