Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 199.1 kB / 18.05 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.5 MB / 245.3 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007791/0.0007791, allocations: 95.39 kB / 297.4 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 4 kB / 357.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001489/0.2761, allocations: 1.179 MB / 409.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.2763, allocations: 43.84 kB / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.2763, allocations: 0 / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.2764, allocations: 0 / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.2764, allocations: 8.688 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.2767, allocations: 19.59 kB / 409.9 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.2768, allocations: 36.45 kB / 410 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.2769, allocations: 10.12 kB / 410 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.2769, allocations: 11.92 kB / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.277, allocations: 19.91 kB / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.277, allocations: 4 kB / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.277, allocations: 1.75 kB / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2771, allocations: 3.984 kB / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.2771, allocations: 37.64 kB / 410.1 MB, free: 26.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.2772, allocations: 23.95 kB / 410.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2772, allocations: 0 / 410.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2772, allocations: 0.7812 kB / 410.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.2772, allocations: 3.938 kB / 410.1 MB, free: 26.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004577/0.2777, allocations: 352.5 kB / 410.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.2777, allocations: 11.97 kB / 410.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2778, allocations: 7.719 kB / 410.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2779, allocations: 189.3 kB / 410.6 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2779, allocations: 384 / 410.6 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.278, allocations: 4.359 kB / 410.6 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.2785, allocations: 164.6 kB / 410.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2785, allocations: 192 / 410.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2785, allocations: 9.531 kB / 410.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2785, allocations: 0 / 410.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.2788, allocations: 47.94 kB / 410.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.2789, allocations: 165.7 kB / 411 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.2792, allocations: 86.02 kB / 411.1 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.2793, allocations: 44.89 kB / 411.2 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.2793, allocations: 3.938 kB / 411.2 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2793, allocations: 34.5 kB / 411.2 MB, free: 25.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2794, allocations: 0 / 411.2 MB, free: 25.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004592/0.2798, allocations: 125.5 kB / 411.3 MB, free: 24.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2799, allocations: 59.41 kB / 411.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.28, allocations: 109.8 kB / 411.5 MB, free: 24.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.28, allocations: 25.7 kB / 411.5 MB, free: 24.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.28, allocations: 80.14 kB / 411.6 MB, free: 24.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.28, allocations: 7.984 kB / 411.6 MB, free: 24.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.28, allocations: 3.938 kB / 411.6 MB, free: 24.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.2801, allocations: 314.8 kB / 411.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.2801, allocations: 4 kB / 411.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.2801, allocations: 35.36 kB / 411.9 MB, free: 24.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.2802, allocations: 39.38 kB / 412 MB, free: 24.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2802, allocations: 0 / 412 MB, free: 24.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.307e-05/0.2803, allocations: 57.62 kB / 412 MB, free: 24.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2803, allocations: 4 kB / 412 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2803, allocations: 0 / 412 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2803, allocations: 7.938 kB / 412 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.2804, allocations: 4 kB / 412 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2804, allocations: 4 kB / 412.1 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.2804, allocations: 0 / 412.1 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.2804, allocations: 4 kB / 412.1 MB, free: 24.08 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: 1 (ramp.counter) * 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.075e-05/0.2805, allocations: 117.9 kB / 412.2 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.2805, allocations: 7.906 kB / 412.2 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.2805, allocations: 15.83 kB / 412.2 MB, free: 23.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2805, allocations: 0 / 412.2 MB, free: 23.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2805, allocations: 288 / 412.2 MB, free: 23.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.2806, allocations: 81.11 kB / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2806, allocations: 0 / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.2807, allocations: 7.984 kB / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-06/0.2807, allocations: 3.984 kB / 412.3 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003313/0.281, allocations: 184.9 kB / 412.5 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002901/0.2813, allocations: 266.5 kB / 412.7 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001165/0.2814, allocations: 31.97 kB / 412.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.2815, allocations: 83.28 kB / 412.8 MB, free: 23.23 MB / 298.7 MB Notification: Performance of Backend: time 4.91e-07/0.2815, allocations: 0 / 412.8 MB, free: 23.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.2818, allocations: 93.77 kB / 412.9 MB, free: 23.14 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004004/0.2822, allocations: 0.5972 MB / 413.5 MB, free: 22.49 MB / 298.7 MB 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:(1) [] 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:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for ramp.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:2: ramp.y (no alias) initial: no arrCref index:(3) [] 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:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for ramp.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:1: ramp.height (no alias) initial: 1.0 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for ramp.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:2: ramp.offset (no alias) initial: 0.0 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for ramp.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:0: ramp.counter (no alias) protected initial: 0 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for ramp.durationTicks 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: ramp.durationTicks (no alias) initial: 3 no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for ramp.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:1: ramp.startTick (no alias) initial: 2 no arrCref index:(9) [] 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:(10) [] 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:(11) [] 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 ramp.y found! Error: Internal error GetVarIndexListByMapping: No Element for ramp.counter found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period found! Error: Internal error GetVarIndexListByMapping: No Element for ramp.height found! Error: Internal error GetVarIndexListByMapping: No Element for ramp.offset found! Error: Internal error GetVarIndexListByMapping: No Element for ramp.durationTicks found! Error: Internal error GetVarIndexListByMapping: No Element for ramp.startTick found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!