Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 194.5 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 226.5 MB / 245.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008274/0.0008273, allocations: 96.84 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002617, allocations: 11.98 kB / 357.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2704, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001541/0.2721, allocations: 1.136 MB / 409.8 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.2723, allocations: 39.84 kB / 409.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.2724, allocations: 0.5312 kB / 409.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.2724, allocations: 0 / 409.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.2724, allocations: 2 kB / 409.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2727, allocations: 31.84 kB / 409.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.2728, allocations: 27.92 kB / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.2729, allocations: 4 kB / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.2729, allocations: 8.625 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.273, allocations: 18 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.273, allocations: 0 / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.273, allocations: 0 / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.2731, allocations: 3.938 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.2731, allocations: 37.64 kB / 410 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.536e-05/0.2732, allocations: 19.95 kB / 410 MB, free: 26.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.2732, allocations: 4.531 kB / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2732, allocations: 0 / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2732, allocations: 1.469 kB / 410 MB, free: 26.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004282/0.2736, allocations: 339.4 kB / 410.4 MB, free: 25.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.2737, allocations: 9.344 kB / 410.4 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.2737, allocations: 4.938 kB / 410.4 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2739, allocations: 181.2 kB / 410.5 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2739, allocations: 1 kB / 410.5 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2739, allocations: 12.36 kB / 410.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.2743, allocations: 125.9 kB / 410.7 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2743, allocations: 192 / 410.7 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2743, allocations: 7.938 kB / 410.7 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2743, allocations: 0 / 410.7 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.2745, allocations: 19.98 kB / 410.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.2746, allocations: 161.7 kB / 410.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2748, allocations: 54.55 kB / 410.9 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.2748, allocations: 28.92 kB / 410.9 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.2749, allocations: 0 / 410.9 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2749, allocations: 38.5 kB / 411 MB, free: 25.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2749, allocations: 0 / 411 MB, free: 25.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002547/0.2751, allocations: 89.5 kB / 411.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.2752, allocations: 51.41 kB / 411.1 MB, free: 25.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.2753, allocations: 105.8 kB / 411.2 MB, free: 24.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.2753, allocations: 25.7 kB / 411.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.2753, allocations: 84.14 kB / 411.3 MB, free: 24.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-06/0.2753, allocations: 0 / 411.3 MB, free: 24.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.2753, allocations: 0 / 411.3 MB, free: 24.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2754, allocations: 326.8 kB / 411.7 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.2754, allocations: 0 / 411.7 MB, free: 24.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.2754, allocations: 27.38 kB / 411.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.2755, allocations: 43.42 kB / 411.7 MB, free: 24.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2755, allocations: 3.938 kB / 411.7 MB, free: 24.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.367e-05/0.2755, allocations: 53.58 kB / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2756, allocations: 4 kB / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2756, allocations: 0 / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2756, allocations: 15.86 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.2757, allocations: 4 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2757, allocations: 4 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.2757, allocations: 8.125 kB / 411.8 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2757, allocations: 0 / 411.8 MB, free: 24.33 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.116e-05/0.2758, allocations: 113.8 kB / 411.9 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.2758, allocations: 8.156 kB / 411.9 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.2758, allocations: 11.84 kB / 411.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2758, allocations: 0 / 411.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2758, allocations: 7.984 kB / 412 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.2759, allocations: 77.11 kB / 412 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2759, allocations: 4 kB / 412 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.2759, allocations: 8 kB / 412 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-06/0.2759, allocations: 288 / 412 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001592/0.2761, allocations: 148.9 kB / 412.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001672/0.2763, allocations: 242.7 kB / 412.4 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.619e-05/0.2763, allocations: 19.98 kB / 412.4 MB, free: 23.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.367e-05/0.2764, allocations: 83.28 kB / 412.5 MB, free: 23.55 MB / 298.7 MB Notification: Performance of Backend: time 3.41e-07/0.2764, allocations: 4 kB / 412.5 MB, free: 23.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.2767, allocations: 90.58 kB / 412.6 MB, free: 23.46 MB / 298.7 MB Notification: Performance of SimCode: time 0.000472/0.2772, allocations: 0.5894 MB / 413.2 MB, free: 22.82 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period 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: periodicClock1.period (no alias) initial: 0.1 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.u 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: assignClock1.u (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.y 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: assignClock1.y (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for step.counter 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: step.counter (no alias) protected initial: 0 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for step.y 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: step.y (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for step.height 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: step.height (no alias) initial: 3 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for step.offset 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: step.offset (no alias) initial: 1 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for step.startTick 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: step.startTick (no alias) initial: 3 no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver 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: periodicClock1.useSolver (no alias) initial: false no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod 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: periodicClock1.solverMethod (no alias) initial: "ExplicitEuler" no arrCref index:(10) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.u found! Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.counter found! Error: Internal error GetVarIndexListByMapping: No Element for step.y found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period found! Error: Internal error GetVarIndexListByMapping: No Element for step.height found! Error: Internal error GetVarIndexListByMapping: No Element for step.offset found! Error: Internal error GetVarIndexListByMapping: No Element for step.startTick found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!