Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 202.8 kB / 18.05 MB, free: 3.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008688/0.0008688, allocations: 88.08 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 4 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2501, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001355/0.2515, allocations: 1.171 MB / 409.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.2517, allocations: 27.92 kB / 409.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.2518, allocations: 3.938 kB / 409.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.2518, allocations: 9.328 kB / 409.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.2518, allocations: 0 / 409.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2521, allocations: 23.92 kB / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.2521, allocations: 24.45 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.2522, allocations: 9.297 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.2523, allocations: 8 kB / 410 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.2523, allocations: 11.92 kB / 410 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2523, allocations: 1.469 kB / 410 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.2524, allocations: 4 kB / 410 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.2524, allocations: 11.92 kB / 410 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.2524, allocations: 33.64 kB / 410 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.977e-05/0.2525, allocations: 20.58 kB / 410.1 MB, free: 26.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2525, allocations: 0.7812 kB / 410.1 MB, free: 26.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2525, allocations: 0 / 410.1 MB, free: 26.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.2525, allocations: 4.531 kB / 410.1 MB, free: 26.33 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.0003718/0.2529, allocations: 332.5 kB / 410.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.253, allocations: 8.031 kB / 410.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.253, allocations: 9.688 kB / 410.4 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2531, allocations: 185.2 kB / 410.6 MB, free: 25.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.2532, allocations: 14.67 kB / 410.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2532, allocations: 384 / 410.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.2535, allocations: 119.8 kB / 410.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2535, allocations: 1.5 kB / 410.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2536, allocations: 3.938 kB / 410.7 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2536, allocations: 4 kB / 410.7 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2537, allocations: 29.06 kB / 410.8 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.2538, allocations: 153.7 kB / 410.9 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.254, allocations: 58.05 kB / 411 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.254, allocations: 28.91 kB / 411 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.2541, allocations: 0 / 411 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2541, allocations: 38.5 kB / 411 MB, free: 25.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.2541, allocations: 0 / 411 MB, free: 25.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002576/0.2544, allocations: 89.44 kB / 411.1 MB, free: 25.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.2544, allocations: 54.03 kB / 411.2 MB, free: 25.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.2545, allocations: 105.8 kB / 411.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2545, allocations: 25.7 kB / 411.3 MB, free: 24.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.2545, allocations: 84.14 kB / 411.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.2545, allocations: 4 kB / 411.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.2545, allocations: 2.688 kB / 411.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.2546, allocations: 314.8 kB / 411.7 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.2546, allocations: 4 kB / 411.7 MB, free: 24.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.2546, allocations: 31.36 kB / 411.7 MB, free: 24.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.2547, allocations: 39.38 kB / 411.8 MB, free: 24.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2547, allocations: 3.938 kB / 411.8 MB, free: 24.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.767e-05/0.2547, allocations: 53.62 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2547, allocations: 8 kB / 411.8 MB, free: 24.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2548, allocations: 8.109 kB / 411.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2548, allocations: 3.938 kB / 411.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.2548, allocations: 8 kB / 411.8 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2548, allocations: 0 / 411.8 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.2549, allocations: 4 kB / 411.8 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2549, allocations: 4 kB / 411.9 MB, free: 24.3 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 (step.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 5.092e-05/0.2549, allocations: 113.8 kB / 412 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.2549, allocations: 7.906 kB / 412 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.255, allocations: 11.84 kB / 412 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.255, allocations: 4 kB / 412 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.255, allocations: 288 / 412 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.255, allocations: 81.11 kB / 412.1 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.255, allocations: 0 / 412.1 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.2551, allocations: 7.984 kB / 412.1 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-06/0.2551, allocations: 3.984 kB / 412.1 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001569/0.2552, allocations: 141 kB / 412.2 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000156/0.2554, allocations: 250.7 kB / 412.5 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.552e-05/0.2555, allocations: 15.98 kB / 412.5 MB, free: 23.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.565e-05/0.2555, allocations: 91.52 kB / 412.6 MB, free: 23.52 MB / 298.7 MB Notification: Performance of Backend: time 2.9e-07/0.2555, allocations: 0 / 412.6 MB, free: 23.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.2558, allocations: 82.97 kB / 412.6 MB, free: 23.44 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004164/0.2563, allocations: 0.5935 MB / 413.2 MB, free: 22.79 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 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:2: step.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 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:1: step.height (no alias) initial: 1.0 no arrCref index:(5) [] 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:2: step.offset (no alias) initial: 0.0 no arrCref index:(6) [] 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:0: step.counter (no alias) protected initial: 0 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:0: 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.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.counter 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!