Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 194.5 kB / 18.04 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000867/0.0008671, allocations: 101.4 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002401/0.0002402, allocations: 4 kB / 357.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2585, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001492/0.26, allocations: 1.133 MB / 409.8 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.2603, allocations: 22.72 kB / 409.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.2604, allocations: 3.938 kB / 409.9 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.2604, allocations: 3.984 kB / 409.9 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.2604, allocations: 3.984 kB / 409.9 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.2607, allocations: 24 kB / 409.9 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.2608, allocations: 27.92 kB / 409.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2609, allocations: 8.516 kB / 409.9 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.261, allocations: 15.92 kB / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.2611, allocations: 4.688 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2611, allocations: 4 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.2611, allocations: 1.219 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2611, allocations: 3.984 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.2612, allocations: 37.64 kB / 410 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.155e-05/0.2612, allocations: 20.98 kB / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2612, allocations: 0 / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2612, allocations: 0 / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2613, allocations: 0.75 kB / 410 MB, free: 26.38 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.000352/0.2616, allocations: 334.2 kB / 410.3 MB, free: 26.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2617, allocations: 11.97 kB / 410.3 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.2617, allocations: 8.938 kB / 410.4 MB, free: 25.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2619, allocations: 184.1 kB / 410.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2619, allocations: 1.344 kB / 410.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2619, allocations: 8.375 kB / 410.5 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.2622, allocations: 114.8 kB / 410.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2622, allocations: 192 / 410.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2623, allocations: 7.938 kB / 410.7 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2623, allocations: 0 / 410.7 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.2624, allocations: 23.97 kB / 410.7 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.2625, allocations: 159.7 kB / 410.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2626, allocations: 50.48 kB / 410.9 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.2627, allocations: 32.05 kB / 410.9 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.2627, allocations: 0 / 410.9 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2628, allocations: 30.56 kB / 411 MB, free: 25.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2628, allocations: 0 / 411 MB, free: 25.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002607/0.263, allocations: 77.61 kB / 411 MB, free: 25.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.2631, allocations: 55.34 kB / 411.1 MB, free: 25.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.2631, allocations: 105.8 kB / 411.2 MB, free: 25.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2631, allocations: 25.7 kB / 411.2 MB, free: 24.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.2632, allocations: 84.14 kB / 411.3 MB, free: 24.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-06/0.2632, allocations: 4 kB / 411.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.2632, allocations: 0 / 411.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.2632, allocations: 314.8 kB / 411.6 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.2633, allocations: 4 kB / 411.6 MB, free: 24.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.2633, allocations: 31.62 kB / 411.6 MB, free: 24.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.2633, allocations: 39.36 kB / 411.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2633, allocations: 4 kB / 411.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.651e-05/0.2634, allocations: 49.55 kB / 411.7 MB, free: 24.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2634, allocations: 12.12 kB / 411.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2634, allocations: 0 / 411.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2635, allocations: 8.016 kB / 411.7 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.2635, allocations: 4 kB / 411.8 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2635, allocations: 3.938 kB / 411.8 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.2635, allocations: 11.92 kB / 411.8 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2636, allocations: 0 / 411.8 MB, free: 24.38 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 7.194e-05/0.2636, allocations: 113.8 kB / 411.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.2637, allocations: 0 / 411.9 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.2637, allocations: 19.44 kB / 411.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2637, allocations: 0 / 411.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2637, allocations: 0 / 411.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.2637, allocations: 85 kB / 412 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2637, allocations: 7.938 kB / 412 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.2638, allocations: 0 / 412 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.2638, allocations: 0 / 412 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001556/0.264, allocations: 141 kB / 412.1 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001566/0.2641, allocations: 242.9 kB / 412.4 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.287e-05/0.2642, allocations: 19.98 kB / 412.4 MB, free: 23.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.078e-05/0.2642, allocations: 83.28 kB / 412.5 MB, free: 23.62 MB / 298.7 MB Notification: Performance of Backend: time 2.4e-07/0.2642, allocations: 0 / 412.5 MB, free: 23.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.2645, allocations: 90.33 kB / 412.6 MB, free: 23.53 MB / 298.7 MB Notification: Performance of SimCode: time 0.000337/0.2649, allocations: 0.5819 MB / 413.1 MB, free: 22.89 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 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:(2) [] 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:(3) [] 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:(4) [] 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:(5) [] 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:(6) [] 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:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for step.startValue 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.startValue (no alias) initial: false no arrCref index:(8) [] 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:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for step.counter found! 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 periodicClock1.period 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 step.startValue found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!