Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008846/0.0008847, allocations: 182.9 kB / 17.44 MB, free: 4.258 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.394/1.394, allocations: 205.4 MB / 223.6 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.0006992/0.0006993, allocations: 81.44 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06079/0.06079, allocations: 12.2 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 12 kB / 392.8 MB, free: 67.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06544/0.06582, allocations: 50.3 MB / 443.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0004738/0.06634, allocations: 222 kB / 443.3 MB, free: 16.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000178/0.06653, allocations: 63.86 kB / 443.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.06658, allocations: 0 / 443.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.0666, allocations: 0 / 443.3 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.75e-05/0.06663, allocations: 3.938 kB / 443.3 MB, free: 16.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.0668, allocations: 23.97 kB / 443.4 MB, free: 16.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.446e-05/0.06684, allocations: 0 / 443.4 MB, free: 16.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.06689, allocations: 5.531 kB / 443.4 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.06691, allocations: 0 / 443.4 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.06695, allocations: 0 / 443.4 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.06697, allocations: 4 kB / 443.4 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.06698, allocations: 0 / 443.4 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.067, allocations: 15.92 kB / 443.4 MB, free: 16.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.06703, allocations: 25.7 kB / 443.4 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.721e-05/0.06706, allocations: 0 / 443.4 MB, free: 16.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.06707, allocations: 4 kB / 443.4 MB, free: 16.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.06708, allocations: 0 / 443.4 MB, free: 16.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.06708, allocations: 0 / 443.4 MB, free: 16.29 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001839/0.06727, allocations: 307.5 kB / 443.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.06732, allocations: 11.97 kB / 443.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.06735, allocations: 8.844 kB / 443.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.06746, allocations: 168.4 kB / 443.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.06748, allocations: 384 / 443.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.06749, allocations: 4.359 kB / 443.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.06766, allocations: 152.9 kB / 444 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.06769, allocations: 75.47 kB / 444.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.06771, allocations: 166.4 kB / 444.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.06774, allocations: 154.5 kB / 444.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.06776, allocations: 150.6 kB / 444.6 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.06793, allocations: 446 kB / 445 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.257e-05/0.06797, allocations: 169.1 kB / 445.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.06799, allocations: 84.14 kB / 445.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.06801, allocations: 75.28 kB / 445.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.06803, allocations: 109.8 kB / 445.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.06804, allocations: 0 / 445.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.88e-05/0.06811, allocations: 37.64 kB / 445.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.379e-05/0.06813, allocations: 59.39 kB / 445.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.06818, allocations: 89.86 kB / 445.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.06819, allocations: 25.7 kB / 445.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.048e-05/0.06821, allocations: 80.19 kB / 445.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.06821, allocations: 0 / 445.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.06822, allocations: 0 / 445.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.06826, allocations: 318.8 kB / 446 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-06/0.06827, allocations: 128 / 446 MB, free: 13.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-06/0.06828, allocations: 4 kB / 446 MB, free: 13.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.134e-05/0.06829, allocations: 75.28 kB / 446.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.06831, allocations: 79.22 kB / 446.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.42e-05/0.06836, allocations: 29.7 kB / 446.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.06838, allocations: 79.28 kB / 446.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.0684, allocations: 83.27 kB / 446.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.06843, allocations: 158.4 kB / 446.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.046e-05/0.06845, allocations: 83.28 kB / 446.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.06848, allocations: 154.5 kB / 446.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.06854, allocations: 75.28 kB / 446.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.06855, allocations: 76.39 kB / 446.9 MB, free: 12.53 MB / 298.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 (0): * Single equations (assignments): 0 * 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 5.169e-05/0.06861, allocations: 265.1 kB / 447.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.06865, allocations: 116.9 kB / 447.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.06867, allocations: 111.8 kB / 447.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.0687, allocations: 180.2 kB / 447.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.06872, allocations: 105 kB / 447.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.06875, allocations: 178.1 kB / 447.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.06878, allocations: 188.1 kB / 448 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.06883, allocations: 112.9 kB / 448.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.06886, allocations: 184.2 kB / 448.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.039e-05/0.0689, allocations: 255.9 kB / 448.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.381e-05/0.06898, allocations: 391 kB / 449 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.918e-05/0.069, allocations: 105 kB / 449.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.488e-05/0.06903, allocations: 75.28 kB / 449.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Backend: time 3.4e-07/0.06903, allocations: 0 / 449.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.06931, allocations: 78.34 kB / 449.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002278/0.06955, allocations: 0.9935 MB / 450.2 MB, free: 9.047 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for factor 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: factor (no alias) initial: 2 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for factor found!