Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.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.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 182.4 kB / 17.44 MB, free: 4.379 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.208/1.208, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007136/0.0007137, allocations: 81.5 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06216/0.06216, allocations: 12.2 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 16 kB / 392.8 MB, free: 67.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06487/0.06526, allocations: 50.3 MB / 443.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001138/0.06643, allocations: 1.129 MB / 444.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.06658, allocations: 33.02 kB / 444.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.06664, allocations: 4 kB / 444.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.06667, allocations: 3.938 kB / 444.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.0667, allocations: 0 / 444.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.06692, allocations: 23.97 kB / 444.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.06699, allocations: 23.94 kB / 444.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.06708, allocations: 11.98 kB / 444.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.06712, allocations: 0 / 444.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.06716, allocations: 15.92 kB / 444.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.06718, allocations: 4 kB / 444.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.06721, allocations: 0 / 444.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.06723, allocations: 7.938 kB / 444.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.06726, allocations: 41.62 kB / 444.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.679e-05/0.06731, allocations: 11.97 kB / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.06732, allocations: 0 / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06733, allocations: 0 / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.06734, allocations: 0 / 444.4 MB, free: 15.34 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.0002673/0.06761, allocations: 339.7 kB / 444.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.06765, allocations: 8.031 kB / 444.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.06769, allocations: 8.844 kB / 444.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.06781, allocations: 180.4 kB / 444.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.06784, allocations: 4.312 kB / 444.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.06785, allocations: 4.375 kB / 444.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.06813, allocations: 115.8 kB / 445 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.06815, allocations: 192 / 445 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.06816, allocations: 3.938 kB / 445 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.06817, allocations: 3.938 kB / 445 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.06828, allocations: 31.97 kB / 445 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.628e-05/0.06837, allocations: 149.7 kB / 445.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.06849, allocations: 54.55 kB / 445.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.06856, allocations: 24.92 kB / 445.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.06858, allocations: 0 / 445.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.0686, allocations: 34.5 kB / 445.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.06861, allocations: 4 kB / 445.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002257/0.06884, allocations: 77.52 kB / 445.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.353e-05/0.06886, allocations: 55.41 kB / 445.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.06892, allocations: 101.8 kB / 445.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.06893, allocations: 29.7 kB / 445.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.06895, allocations: 88.12 kB / 445.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.06896, allocations: 0 / 445.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.06897, allocations: 0 / 445.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.06901, allocations: 318.8 kB / 446 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.06903, allocations: 8 kB / 446 MB, free: 13.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.06905, allocations: 27.38 kB / 446 MB, free: 13.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.06908, allocations: 31.42 kB / 446 MB, free: 13.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.06909, allocations: 4 kB / 446 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.945e-05/0.06916, allocations: 53.58 kB / 446.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.06917, allocations: 8 kB / 446.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.06918, allocations: 256 / 446.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.0692, allocations: 3.938 kB / 446.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/0.06925, allocations: 15.98 kB / 446.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.06926, allocations: 0 / 446.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.06928, allocations: 4 kB / 446.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.06929, allocations: 128 / 446.1 MB, free: 13.34 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 4.517e-05/0.06934, allocations: 122.4 kB / 446.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.06935, allocations: 3.906 kB / 446.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.06938, allocations: 19.38 kB / 446.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.06938, allocations: 0 / 446.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.06939, allocations: 0 / 446.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.06941, allocations: 85.31 kB / 446.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.06943, allocations: 0 / 446.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.06947, allocations: 4 kB / 446.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-06/0.06948, allocations: 7.984 kB / 446.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001425/0.06962, allocations: 141 kB / 446.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001414/0.06977, allocations: 238.7 kB / 446.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.978e-05/0.06983, allocations: 19.98 kB / 446.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.818e-05/0.06986, allocations: 83.28 kB / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Backend: time 2e-07/0.06986, allocations: 0 / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.07014, allocations: 86.33 kB / 446.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002467/0.07039, allocations: 0.5818 MB / 447.5 MB, free: 11.84 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!