Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.00124, allocations: 178.3 kB / 17.39 MB, free: 4.422 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.388/1.388, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0008105/0.0008105, allocations: 87.86 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.3154/0.3154, allocations: 43.57 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12 kB / 432.6 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 58.84 MB / 491.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006329/0.1192, allocations: 220.4 kB / 491.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1213, allocations: 1.215 MB / 492.9 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1214, allocations: 0 / 492.9 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.918e-06/0.1214, allocations: 0 / 492.9 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.1214, allocations: 0 / 492.9 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1226, allocations: 450.9 kB / 493.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.543e-05/0.1226, allocations: 4 kB / 493.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1226, allocations: 0 / 493.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.1227, allocations: 0 / 493.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.1227, allocations: 0 / 493.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1227, allocations: 0 / 493.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.1382, allocations: 2.314 MB / 495.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.1382, allocations: 0 / 495.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.1383, allocations: 25.7 kB / 495.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1385, allocations: 107.8 kB / 495.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1386, allocations: 4 kB / 495.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1386, allocations: 4 kB / 495.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1386, allocations: 0 / 495.8 MB, free: 6.398 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.0004119/0.139, allocations: 381.2 kB / 496.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1391, allocations: 8.031 kB / 496.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.1391, allocations: 4.875 kB / 496.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.1392, allocations: 160.4 kB / 496.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1392, allocations: 384 / 496.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.1392, allocations: 384 / 496.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1393, allocations: 37.83 kB / 496.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1394, allocations: 0 / 496.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1394, allocations: 0 / 496.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1394, allocations: 0 / 496.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.1394, allocations: 11.92 kB / 496.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1396, allocations: 145.7 kB / 496.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.1396, allocations: 14.58 kB / 496.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.1397, allocations: 12.89 kB / 496.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1397, allocations: 4 kB / 496.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.1397, allocations: 60.2 kB / 496.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1397, allocations: 0 / 496.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001866/0.1399, allocations: 75.23 kB / 496.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.14, allocations: 77.11 kB / 496.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.14, allocations: 89.86 kB / 496.9 MB, free: 5.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1401, allocations: 25.7 kB / 496.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.1401, allocations: 84.14 kB / 497 MB, free: 5.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1401, allocations: 4.125 kB / 497 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.1401, allocations: 0 / 497 MB, free: 5.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1403, allocations: 310.8 kB / 497.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.1403, allocations: 0 / 497.3 MB, free: 4.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.1403, allocations: 7.984 kB / 497.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.1403, allocations: 60.27 kB / 497.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1403, allocations: 0 / 497.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.49e-05/0.1404, allocations: 63.34 kB / 497.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.1405, allocations: 37.73 kB / 497.4 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1405, allocations: 4 kB / 497.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1405, allocations: 3.984 kB / 497.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1405, allocations: 0 / 497.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1405, allocations: 0 / 497.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.1406, allocations: 0 / 497.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1406, allocations: 4 kB / 497.4 MB, free: 4.48 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.708e-05/0.1407, allocations: 139.5 kB / 497.6 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.1407, allocations: 3.938 kB / 497.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-06/0.1407, allocations: 7.125 kB / 497.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1407, allocations: 0 / 497.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1407, allocations: 0 / 497.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1408, allocations: 85.09 kB / 497.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1408, allocations: 0 / 497.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-06/0.1408, allocations: 3.938 kB / 497.7 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1408, allocations: 0 / 497.7 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001273/0.141, allocations: 198 kB / 497.9 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001659/0.1411, allocations: 244.5 kB / 498.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.222e-05/0.1412, allocations: 4 kB / 498.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.1412, allocations: 83.25 kB / 498.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of Backend: time 1.7e-07/0.1412, allocations: 0 / 498.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009737/0.1422, allocations: 416.4 kB / 498.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003838/0.1426, allocations: 0.5987 MB / 499.2 MB, free: 2.555 MB / 378.7 MB Error: Internal error GetVarIndexListByMapping: No Element for result 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: result (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for result found!