Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009835/0.0009836, allocations: 178.6 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.453/1.453, allocations: 205.4 MB / 223.5 MB, free: 9.004 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.0007513/0.0007512, allocations: 89.36 kB / 271.9 MB, free: 8.238 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.3308/0.3308, allocations: 43.56 MB / 363.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 16 kB / 432.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1153, allocations: 58.84 MB / 491.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0005163/0.1159, allocations: 228.3 kB / 491.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.1165, allocations: 339.4 kB / 492 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.1166, allocations: 0 / 492 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.1166, allocations: 0 / 492 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.1166, allocations: 0 / 492 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1172, allocations: 151.8 kB / 492.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.594e-05/0.1172, allocations: 4 kB / 492.2 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.1173, allocations: 3.938 kB / 492.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.1173, allocations: 0 / 492.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.493e-05/0.1173, allocations: 4 kB / 492.2 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.1173, allocations: 0 / 492.2 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.1176, allocations: 139.8 kB / 492.3 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.1177, allocations: 3.938 kB / 492.3 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.1177, allocations: 25.7 kB / 492.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1179, allocations: 103.8 kB / 492.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1179, allocations: 3.938 kB / 492.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1179, allocations: 0 / 492.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1179, allocations: 4 kB / 492.5 MB, free: 9.668 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.0003264/0.1182, allocations: 357.2 kB / 492.8 MB, free: 9.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1183, allocations: 8.031 kB / 492.8 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.1183, allocations: 4.938 kB / 492.8 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.1184, allocations: 160.4 kB / 493 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1184, allocations: 384 / 493 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.1184, allocations: 384 / 493 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.1185, allocations: 34.27 kB / 493 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1185, allocations: 192 / 493 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1185, allocations: 7.938 kB / 493 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1185, allocations: 0 / 493 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.1186, allocations: 7.922 kB / 493 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.1187, allocations: 149.6 kB / 493.2 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.93e-05/0.1187, allocations: 14.58 kB / 493.2 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.1187, allocations: 4.859 kB / 493.2 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.1188, allocations: 0 / 493.2 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.1188, allocations: 68.33 kB / 493.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1188, allocations: 0 / 493.3 MB, free: 8.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001892/0.119, allocations: 71.27 kB / 493.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1191, allocations: 77.11 kB / 493.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.26e-05/0.1191, allocations: 89.86 kB / 493.5 MB, free: 8.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1191, allocations: 25.7 kB / 493.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.1192, allocations: 88.06 kB / 493.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1192, allocations: 4 kB / 493.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1192, allocations: 4.125 kB / 493.6 MB, free: 8.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1193, allocations: 318.8 kB / 493.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-06/0.1193, allocations: 0 / 493.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.1193, allocations: 3.984 kB / 493.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.1194, allocations: 60.27 kB / 494 MB, free: 7.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1194, allocations: 0 / 494 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.263e-05/0.1194, allocations: 67.34 kB / 494.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.1195, allocations: 29.7 kB / 494.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1195, allocations: 4.094 kB / 494.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1195, allocations: 7.922 kB / 494.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.1195, allocations: 0 / 494.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1195, allocations: 0 / 494.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.1196, allocations: 4 kB / 494.1 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.1196, allocations: 0 / 494.1 MB, free: 7.762 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 9.222e-05/0.1197, allocations: 131.5 kB / 494.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.1197, allocations: 4 kB / 494.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-06/0.1197, allocations: 3.125 kB / 494.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1197, allocations: 7.938 kB / 494.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1197, allocations: 0 / 494.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.1198, allocations: 81.09 kB / 494.3 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1198, allocations: 0 / 494.3 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.1198, allocations: 4 kB / 494.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.1198, allocations: 0 / 494.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001381/0.12, allocations: 198 kB / 494.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000194/0.1202, allocations: 244.5 kB / 494.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.569e-05/0.1202, allocations: 0 / 494.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.508e-05/0.1202, allocations: 75.28 kB / 494.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of Backend: time 2.81e-07/0.1202, allocations: 0 / 494.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.1209, allocations: 225.4 kB / 495 MB, free: 6.711 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003319/0.1212, allocations: 0.6143 MB / 495.7 MB, free: 6.035 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!